Device control system

ABSTRACT

The present application relates to an environment control system. The environment control system is capable of detecting variations of natural environment and artificial environment, and control the use of electronic devices automatically or semi-automatically. Based on collected information stored in a built-in storage module, the environment control system may calculate and learn the user&#39;s habit of use with respect to the electronic devices using network connection.

CROSS-REFERENCE TO RELATED APPLICATIONS

The present application is a U.S. National Phase Entry under 35 U.S.C. §371 of the International Patent Application No. PCT/CN2015/075923entitled “ENVIRONMENT CONTROL SYSTEM,” filed on Apr. 3, 2015, thecontents of which are hereby incorporated by reference.

TECHNICAL FIELD

The present application relates to an environment control system,including the fields of integration of multiple sub-systems or modes,building environment design and control, data collection and analysis,integration of circuits, data communication, and intelligence science.

BACKGROUND

Living environment of modern society often relies on the cooperation ofmultiple electronic devices such as lighting control inside buildings,installation and usage of common electronic appliances (such asrefrigerators and televisions), security systems (such as doorbells andclosed-circuit televisions), and heat and air conditioning systems.These kinds of electronic devices usually use physical switches, such asmanual switches of lights, connection to electrical sockets ofrefrigerators, press buttons for doorbells, valves found in waterheating systems, and power switches for air conditioners. Using physicalswitches may be inconvenient sometimes. For example, people may need tofeel around with hands to search for light switches when entering a roomduring night or getting up in the middle of night; people may forget toturn off lights or television when leaving a room; people may fallasleep with a television on for a whole night, wasting energy; a hostmay have to walk across a room to open a door when guests ring thedoorbell; air conditioners need to be manually turned on and requiresome time to achieve a set temperature, or otherwise may need to workinefficiently for an extended period; the recording function ofclosed-circuit televisions in security systems generally need to beconstantly turned on for a long time, which may consume large storagespace. The above mentioned are only some common situations, thus it canbe appreciated that although some electronic devices already incorporatesome smart controlling elements (e.g., smart temperature control of arefrigerator), there is still the need for a smarter, more convenient,and more powerful environment control system.

SUMMARY

The present application relates to an environment control system andrelated use thereof. The environment control system may include severalsubsystems or integration modes, building environment design andcontrol, data collection and analysis, integration of circuits, datacommunication, and intelligence science. According to one embodiment,the system may include a first panel and a second panel. The first panelmay include a first sensing module and a first processing module. Thefirst sensing module may collect parameters related to a first device.The first processing module may control the first device according to atleast part of the collected parameters or user inputs. The first panelmay acquire one or more parameters related to the first device by othermeans (for example, sensors or sensing units located on the secondpanel, or sensors or sensing units outside or independent of the system,etc.), in order to determine the control of the first device. The secondpanel may work independent of the first device. The second panel mayinclude a first physical controller. The first physical controller maycontrol the first device. The first panel may also control the firstphysical controller. The first panel and the second panel are detachablyconnected. The first panel may be termed a “front panel,” while thesecond panel may be termed a “back panel.” For the sake of convenience,the environment control system may also be referred to as the “system.”

According to one embodiment of the present application, the firstsensing module of the first panel may include one or more sensors orsensing units. For example, the first sensing module of the first panelmay include a temperature/humidity sensor, a gas composition sensor, amotion sensor, a proximity sensor, an ambient light sensor capable ofsensing luminous intensity of ambient light, etc., or any combinationthereof. A motion sensor may detect speed, contour, or distance betweenan object and a smart switch. The first panel may include a camera. Thecamera may be equipped with a physical cover, which may be opened orclosed. The first panel may include a gateway, which may be a smartgateway. Descriptions of the smart gateway can be found in belowpassages of the present application.

According to one embodiment of the present application, the first panelmay further include a first communication module. The first panel maycommunicate with a second device via the first communication module. Thefirst panel may control the second device through the communication withthe second device. The first panel may collect or acquire parameters oruser inputs related to the second device, and communicate with orcontrol the second device. See below descriptions of the collection oracquisition of parameters or user input related to the first device. Thecommunication between the first communication module and the seconddevice may be through one or more cellular networks. The communicationbetween the first communication module and the second device may bethrough a wireless network.

According to one embodiment of the present application, the first panelmay include a touch-sensitive device. The touch-sensitive device may bea touch screen. According to the present application, thetouch-sensitive device and the touch screen are generally referred to as“touch screen.” The first panel may receive user input through the touchscreen. The first panel may display information related to the firstdevice through the touch screen. The user input may refer to clicking orselecting information displayed on the touch screen by a user, and suchinformation may be at least partially related to the first device. Userinput may be other information or instructions inputted by the user. Thefirst panel may acquire user input through the first communicationmodule (for example, a user may input through mobile phones, computers,television sets, or remote controllers of television sets that are ableto communicate with the environment control system). According to oneembodiment of the present application, the second panel may include asecond sensing module and/or a second communication module. Descriptionsof the first sensing module may be similarly applied to the secondsensing module. Descriptions of the first communication module may besimilarly applied to the second communication module.

According to one embodiment of the present application, the environmentcontrol system may include a first panel and a second panel. The firstpanel is configured to collect or acquire parameters or user inputsrelated to the first device. Parameters related to the first device maybe collected via a sensor or a sensing unit. The sensor or sensing unitmay be part of the environment control system. For example, theenvironment control system may include a sensing module, and the sensoror sensing unit may be part of the sensing module. The sensing modulemay be part of the first panel, or part of the second panel. Parametersrelated to the first device may be acquired via a sensor or a sensingunit outside of the environment control system or independent of thesystem, which may send the parameters to the system. User input relatedto the first device may be acquired via an input/output device. Theinput/output device may be a touch screen. The input/output device maybe part of the environment control system. For example, the environmentcontrol system may include a touch screen, and the touch screen may bepart of the first panel or second panel. User inputs related to thefirst device may be acquired through other parts or modules of theenvironment control system. For example, user inputs related to thefirst device may be acquired and sent to the system via an input/outputdevice outside or independent of the environment control system. Theenvironment control system may determine the control on the first devicebased on at least part of collected or acquired parameters or userinputs. Such determination may be made by a processor. The processor maybe part of the environment control system. For example, the environmentcontrol system may include a processing module, while the processor maybe part of the processing module. The processing module may be part ofthe first or second panel. The processor may be, for example, part of acloud server, which may be part of the environment control system, ormay be outside or independent of the environment control system. Thesecond panel may include a first physical controller. The first physicalcontroller may control the first device. The first panel may control thefirst physical controller, in order to control the first device. Theremay be a detachable connection between the first panel and the secondpanel. The first panel may communication with other devices or controldevices other than the first device.

According to one embodiment of the present application, the environmentcontrol system may include a port that connects the first panel with thesecond panel.

According to one embodiment of the present application, the second panelmay further include a current detecting device capable of collectinginformation related to current and send the information to the firstpanel. The first physical controller in the second panel may be adimmer.

According to one embodiment of the present application, the environmentcontrol system may further include a wireless switch that may controlthe first device via the first panel.

According to one embodiment of the present application, the environmentcontrol system may further include a third panel, which includes asecond physical controller, and the second physical controller maycontrol a third device. The first panel may control the second physicalcontroller. The third panel may further include one or more modules, forexample, one or more of a third sensing module, a third communicationmodule, a third sensing module, or any combination thereof. The firstpanel may further communicate with the third panel via the firstcommunication module. Furthermore, there may be a detachable connectionbetween the first panel and the third panel. The third panel may be asimplified smart switch.

According to one embodiment of the current applications, a method mayinclude gathering a parameter or user input related to a first devicethrough a first panel; determining a control to the first device by thefirst panel based on at least part of the gathered parameter or userinput; executing the control to the first device, where the control tothe first device may include controlling of a first physical controllerby the first panel, and the physical controller may control the firstdevice independently from the first panel.

Additionally, the first panel may include a first sensing module, andthe first sensing module may gather a parameter related to the firstdevice. The first panel may include a touch screen, and the touch screenmay receive a user input. The first physical controller may be a dimmer.The first panel may further include a first communication module,through which the first panel may communicate with a second device. Thefirst panel may control the second device via the communicationtherewith.

BRIEF DESCRIPTION OF THE DRAWINGS

In order to better illustrate the technical solutions related to theembodiments of the present application, drawings associated with someembodiments are briefly described below. Obviously, drawings describedbelow are only several embodiments of the present application. A personof ordinary skill in the art, without further creative effort, may applythe present teachings to other scenarios according to these drawings.Unless otherwise specified or obviously indicated by the context to theotherwise, the same numbering in the drawings refers to the samestructure or procedure.

FIG. 1: Diagram of environmental control system module.

FIG. 2: System operation process.

FIG. 3-A: System operation sub-process.

FIG. 3-B: System operation sub-process.

FIG. 4-A: Diagram of some commonly used household AC sockets.

FIG. 4-B: Diagram of some common junction boxes.

FIG. 5: Processing module diagram.

FIG. 6: Processing module operation flow chart.

FIG. 7: Sensing module diagram.

FIG. 8: Sensing module operation flow chart.

FIG. 9: Control module diagram.

FIG. 10: Control module operation flow chart.

FIG. 11: Communication module diagram.

FIG. 12: Communication module operation flow chart.

FIG. 13-A: Exemplary embodiment of modules application.

FIG. 13-B: Exemplary embodiment of modules application.

FIG. 13-C: Exemplary embodiment of modules application.

FIG. 13-D: Exemplary embodiment of modules application.

FIG. 14: Diagram of structure of environment control system.

FIG. 15: Diagram of smart switch structure.

FIG. 16: Diagram of smart switch structure.

FIG. 17: Diagram of smart switch connection structure.

FIG. 18: Diagram of simplified switch structure.

FIG. 19: Diagram of an exemplary embodiment of user interface menu.

FIG. 19-A: Diagram of an exemplary embodiment of user interface menu.

FIG. 19-B: Diagram of an exemplary embodiment of user interface menu.

FIG. 19-C: Diagram of an exemplary embodiment of user interface menu.

FIG. 19-D: Diagram of an exemplary embodiment of user interface menu.

FIG. 19-E: Diagram of an exemplary embodiment of user interface menu.

FIG. 20: Diagram of an exemplary embodiment of light control userinterface.

FIG. 21: Diagram of an exemplary embodiment of security mode userinterface.

FIG. 22: Diagram of an exemplary embodiment of family calendar userinterface.

FIG. 23: Diagram of an exemplary embodiment of energy consumptionmonitoring user interface.

FIG. 24: Diagram of an exemplary embodiment of weather warning userinterface.

FIG. 25: Diagram of an exemplary embodiment of video and voiceintercommunication user interface.

FIG. 26: Diagram of an exemplary embodiment of clock user interface.

FIG. 27: Flow chart of an exemplary embodiment of self-learningfunction.

FIG. 28: Diagram of an embodiment of flexible panels attachment.

FIG. 29: Diagram of an embodiment of mobile device control.

FIG. 29-A: Diagram of an exemplary embodiment of message board userinterface.

FIG. 29-B: Diagram of an exemplary embodiment of message board userinterface.

FIG. 30: Diagram of an exemplary embodiment of user interface settings.

FIG. 31: Diagram of an exemplary embodiment of smart lighting modeselection.

FIG. 32: Diagram of an exemplary embodiment of smart lighting mode.

FIG. 33: Diagram of an exemplary embodiment of smart lightingmulti-region control.

FIG. 34: Diagram of an exemplary embodiment of smart lighting remotecontrol.

FIG. 35: Diagram of an exemplary embodiment of smart lighting.

FIG. 36: Diagram of an exemplary embodiment of smart switch tag.

FIG. 37-A: Diagram of an exemplary design of smart switch tag.

FIG. 37-B: Diagram of an exemplary design of smart switch tag.

FIG. 38: Diagram of an exemplary embodiment of security mode.

FIG. 39: Diagram of an exemplary embodiment of security mode.

FIG. 40: Diagram of an exemplary embodiment of security mode.

FIG. 41: Diagram of an exemplary embodiment of security mode.

FIG. 42: Diagram of an exemplary embodiment of security mode remotecontrol.

FIG. 43: Diagram of an exemplary embodiment of smart ventilation mode.

FIG. 44: Diagram of an exemplary embodiment of smart ventilation modestructure.

FIG. 45: Diagram of an exemplary embodiment of video voiceintercommunication user interface.

FIG. 46: Diagram of a video voice intercommunication network.

FIG. 47: Diagram of an exemplary embodiment of automobile control.

FIG. 48: Diagram of an exemplary embodiment of event plan execution.

FIG. 49: Diagram of an exemplary embodiment of near-field communication(NFC) payment function.

DETAILED DESCRIPTION

In order to better illustrate the technical solutions related toembodiments of the present application, drawings associated with someembodiments are described below. Obviously, drawings described below areonly some embodiments of the present application. A person of ordinaryskill in the art, without further creative effort, may apply the presentteachings to other scenarios according to these drawings. Unlessotherwise specified or obviously indicated by the context to theotherwise, the same numbering in the drawings indicates the samestructure or procedure.

According to the specifications and claims in the present application,unless otherwise specified in the context, articles such as “a,” “an,”and/or “the” do not necessarily indicate singular forms, and alsoinclude plural forms. Generally, expressions such as “include” and“comprise” are only used to indicate specified steps or elements.However, listings of these steps and elements are not exclusive, andmethods or devices may also include other steps or elements.

The environment control system in the present application may be appliedto multiple environments, such as homes, offices, schools, hospitals,and other private or public areas. The environment control system maycontrol one or more devices, such as lighting, temperature, electronicdevices, or other devices. The environment control system may includeone or more switches. A switch may have two panels, a first panel and asecond panel. The first panel and the second panel may be detachablyconnected, that is, the first panel may be repeatedly attached anddetached from the second panel. The first panel may have a touch screen.The touch screen is configured to display information for users and toreceive user input. The first panel is configured to control one ormultiple devices. The second panel may have one or more physicalcontrollers. A physical controller may work independently from the firstpanel. When the first panel is impaired or dysfunctional, a user mayremove the first panel and use the physical controller on the secondpanel to achieve at least some of the control functionality that may benormally performed by the first panel. The environment control systemmay be connected to existing power circuits or other control circuits(such that the rearrangement of wires for the environment control systemmay be avoided). This is configured to control the power circuits andother control circuits, as well as to control at least one other device.For example, the environment control system may be connected to existingpower/control circuits of lighting devices, and thus control lighting;at the same time, the environment control system may control one or moreother devices through wired or wireless connections. Such devices mayinclude but are not limited to an air conditioner, a fan, a light, atelevision, a doorbell, a camera device, other home appliances, or thelike. When the first panel is impaired or dysfunctional, a user mayremove the first panel and use the physical controller on the secondpanel to achieve at least the control of lighting devices.

FIG. 1 shows an exemplary embodiment of the modules that may be includedor used in the environment control system, which may include but are notlimited to one or more components 100, one or more powers 150, and oneor more external devices 160. In addition, the components 100 mayinclude but are not limited to processing module 110, sensing module120, control module 130, and communication module 140, etc. Processingmodule 110 may be used to perform calculations and primary logicaljudgments in the environment control system, or coordinate therelationships among different modules. Processing module 110 may beintegrated (on a single electronic component), or distributed (bycooperation of multiple electronic components). It may be local (locatedwithin the controlled environmental), or remote (located outside of thecontrolled environmental). Sensing module 120 may be configured toacquire parameters, variables, or the like that relate to theenvironment and the environment control system. The manner ofinformation acquisition by the sensing module 120 may be integrated ordistributed, local or remote. In addition, it may be implemented bywired methods (for example, via electric or optical cables) or wirelessmethods (for example, via wireless radio or optical signals). Controlmodule 130 may be configured to control the environment control systemand/or external devices. Such control methods may be integrated ordistributed, local or remote, or in a wired or wireless manner.Communication module 140 may be configured to enable communicationwithin the environment control system, between the environment controlsystem and external devices, or between the environment control systemand/or external devices and other systems or devices. The communicationmethod may be wired or wireless. Power 150 generally refers to anydevice which may supply energy to the system. The connection method maybe wired or wireless. It is to be noted that, as mentioned here andbelow, connection methods may include but are not limited to theconnection of power circuits, the connection of signal transmission, orthe like. Details regarding embodiments of connection methods will beprovided after the description of FIG. 3-B. Connection methods asmentioned below may also be applied to the whole content regarding“connection,” “connection method,” or the like. External devices 160generally refer to a variety of devices that are connected directly orindirectly to the environment control system or a device of theenvironment control system. The connection may be local or remote, andconnected by wire or wirelessly.

Processing module 110 is connected with other modules and/or otherdevices. The connected modules or devices may include but are notlimited to sensing module 120, control module 130, and communicationmodule 140. The connection method may be wired or wireless. Sensingmodule 120, control module 130, and communication module 140 may beconnected with each other, and the connection method may be wired orwireless. Processing module 110, sensing module 120, control module 130,and communication module 140 may each have an independent power.Alternatively, two, three or more modules may make use of the same powersource. Sensing module 120, control module 130, or communication module140 may connect individually with external devices, or an externaldevice may connect with one or more modules. The connection methodsherein may be wired or wireless. A processing module 110 may connectwith one or more other processing modules (not shown), and may connectwith storage devices (not shown) and/or cloud servers (not shown). Theconnection methods here may be wired or wireless. The modules anddevices described above are not indispensable, and for a person havingordinary skill in the art, based on the content and principle of thecurrent disclosure, the form and details of the system may be modifiedor changed without departing from certain principles and structures. Themodifications and changes may include any combination of the modules, orthe formation of subsystems that may connect with other modules, andthese modifications and changes, are still within the scope of thecurrent disclosure and claims. For example, as shown in FIG. 1 controlmodule 130 and communication module 140 may form a subsystem, and thissubsystem may have a wired or wireless connection with processing module110. Similar modifications may also be within the scope of the currentdisclosure and claims. Additionally, different modules may distribute todifferent electronic components, or be integrated on the same electroniccomponent; a single module may even distribute to more than oneelectronic components. For example, processing module 110, sensingmodule 120, control module 130, and communication module 140 may eachreside on an independent chip; or in another case, sensing module 120and control module 130 are integrated on one chip, and processing module110 and communication module 140 each resides on an independent chip;yet another case, each of processing module 110, sensing module 120, andcontrol module 130 may be an independent chip, with different networkmodules of the communication module 140 residing on multiple chips.

FIG. 2 describes an example of the operation process of the environmentcontrol system, which may include the following steps: environmentalinformation and/or user input information is gathered in Step 210, andsuch information, after being processed in Step 300A, may then beprocessed in Step 220 by processing module 110. The process related toStep 300A will be described later in detail. Step 230 may decide whetherthere is a need for a control module 130 to execute a control commandaccording to the results generated in Step 220. If the control module130 needs not execute a control command, or if the control module 130needs to execute a control command, yet part or all of the related dataneed to be stored, then the process in Steps 300B and 240 may be used tostore the data. If control module 130 needs to execute a controlcommand, the system may conduct Step 250, follow the process in Step300B′ and Step 260 to store data, and then return to Step 210. Theprocess related to Steps 300B and 300B′ will be described later. Thestored Data may further be transmitted to external devices (not shown)via wired or wireless connections. The stored data may also be used bythe system to further conduct mode analysis and learning functions (notshown). Descriptions provided herein are only one specific embodiment ofthe greater process, and should not be understood as the onlyembodiment. Each individual step mentioned is not, in and of itselfabsolutely essential, and the whole process along with specific stepsare not limited to the drawing or the descriptions above. For example,Step 210 may detect and/or monitor the current room temperature;subsequently Step 300A may be conducted to retrieve local temperatureinformation from a cloud server, and subsequently connect withcommunication module 140 to send notifications of weather forecasts orwarnings to a user. Step 230 may then make a judgment according to auser's preference or setting of room temperature, and let Step 250 driveair conditioners and vent outlets to control the room temperature.Relevant data may then be stored in Steps 300B′ and 260. By repeatingSteps 210, 220, 300A, 230, 250, 300B′ and 260, room temperature may beadjusted to a comfortable level; finally, Steps 300B and 240 may beconducted to store relevant data. It is to be noted that informationgathering in Step 210 may include detecting (perform gathering operationfor one time or multiple times) and/or monitoring (continuously performgathering operation), and such operation may be conducted for one ormore times, or within a period of time, or all the time. The environmentcontrol system may have a self-learning function, which studies a user'sliving habits or activity style, according to the user's command and/orat least part of stored data received by the environment control system,and subsequently generates models to adjust or control relatedenvironment (such as temperature, lighting, or the like). It shallbecome obvious to a person having ordinary skill in the art, based onthe content and principle of the current disclosure, that the form anddetails in the process may be modified or changed without departing fromcertain principles and structures. The modifications and changes arestill within the scope of the current disclosure and claims.

FIG. 3-A shows an example of the process in Step 300A. The process inStep 300A makes judgments in Steps 310, 320, and 330 in order todetermine whether to perform Steps 350, 360, and 370. Step 350 performswriting and reading of data and other information through storagedevices. Storage devices include, without limitation to, various commonstorage devices, such as hard drives, flash drives, tapes, CD-ROMs,cloud storage, and the like. The storage devices may be within, oroutside of, the environment control system. The connection methods ofthe storage devices may be wired or wireless. Step 360 may connect tocloud servers and read and write data or other information. Cloudservers may be within the environment control system, or a third partycommercial server. Step 370 may coordinate with communication module140; in addition to reading and writing, it may also execute the controlof the environment control system to the environment, the communicationbetween users, or between a user and the environment control system.Communication as used herein generally refers to one-way or two-waysignal acquisitions. Signals may include, without limitation to,commands, codes, numbers, texts, images, sounds, videos, and the like.Descriptions provided here are only one specific embodiment of a greaterprocess, and should not be understood as the only embodiment. Eachindividual step mentioned here is not absolutely essential, and thewhole process along with specific steps are not limited to the drawingor the descriptions above. For example, the order of conducting Steps350 and 360 may be as shown in FIG. 3-A, or Steps 350 and 360 may beperformed after Step 370, where connection with communication module 140may be achieved. Steps 310, 320, and 330 may be performed separately, orsimultaneously. It is obvious to a person having ordinary skill in theart, based on the content and principle of the current disclosure, thatthe forms and details in the process may be modified or changed withoutdeparting from certain principles and structures. The modifications andchanges are still within the scope of the current disclosure and claims.FIG. 3-B shows an example of the process in Steps 300B and 300B′. Inaddition to the process in Step 300A, Steps 300B and 300B′ may performStep 380 to create temporary documents when reading and writing astorage device, reading and writing a cloud server, or achievingcommunication connection is not needed, and thus the environment controlsystem may create a temporary document for further uses.

The environment control system may have one or more power sources, andpower may supply the energy source to operate the environment controlsystem. Power generally refers to any energy supply source. Thefollowing examples of power types are only part of applicable examples,and do not include or represent all the examples suitable for theenvironment control system. Power may include, without limitation to, anexternal power, a built-in battery, and a power generating device withinthe environmental control system. External alternating current power mayinclude, without limitation to, domestic or industrial alternatingcurrent power sources. Specifically, different countries or regions mayhave different standards for domestic alternating current voltage andfrequency. By way of example and without limitation, 120V and 60 Hz forUnited States and Canada, 220V to 240V and 50 Hz for most Europeancountries, 230V or 240V and 50 Hz for Australia and New Zealand, 220Vand 50 Hz for Argentina and Chile, 110V or 220V and 60 Hz for Brazil,220V and 50 Hz for Egypt, South Africa and Morocco, 127V or 220V and 60Hz for Saudi Arabia, 230V and 50 Hz for Turkey, 100V and 50 Hz (East) or60 Hz (West) for Japan, 220V and 50 Hz for China, Hong Kong, and Macau,220V and 60 Hz for South Korea, 110V and 60 Hz for Taiwan. Furthermore,the connection between the environment control system and domesticalternating current may be achieved through cables or standard plugs.When connecting using cables between the environment control system anddomestic alternating current, cable wiring standards may include,without limitation to, American standards UL244A, UL514A, UL514B,UL514C, UL514D, CSA C22.2 No. 177, and NFPA70, European standards IEC/EN61058-1, IEC/EN 61347-2-11, and IEC/EN 61347-1, Australian standardsAS/NZS3123, AS/NZS3131, AS/NZS60320.1, and AS/NZS60320.2.2, Japanesestandard JIS C 8281-2-1, Chinese standards GB16915.1, GB16915.2,GB16915.3, and EN60669. Standards for using plug connection may include,without limitation to, the examples shown in FIG. 4-A, where plugschematics of some countries are demonstrated. 400A and 400B show plugsgenerally used in the United States, Canada, and Japan, and the 400Atype plugs used in the United States and Canada are polarized (with onesmaller port and one larger port). Most European counties use 400C and400F plugs, 400G plugs for United Kingdom, 4001 plugs for most Oceaniccountries, and 400A, 4001, and 400G plugs for China. FIG. 4-B providessome examples of inlet boxes, for example, single-gang inlet boxes shownin 410, two-gang inlet boxes shown in 420, three-gang inlet boxes shownin 430, and four-gang inlet boxes shown in 440. The above examples ofvoltage, frequency, domestic power standards, plug standards, and inletboxes are only some of the examples for illustrative purposes. Othervoltages, frequencies, domestic power standards, plug standards, andinlet boxes may also be used in the environment control system. Forexample, a power source may be wirelessly supplied to the environmentcontrol system. For instance, energy may be transferred from the powersource to the environment control system through inductive coupling.This technology may also transfer energy to a battery to supply theoperation of the environment control system.

The environment control system may also use a battery as its power. Abattery includes, without limitation to, a disposable battery and arechargeable battery. Types of batteries may include, without limitationto, lead-acid batteries, nickel-cadmium batteries, nickel-metal hydridebattery, lithium ion battery, fuel battery, zinc-manganese batteries,alkaline-manganese batteries, lithium battery, mercury batteries, andzinc-mercury batteries. Certainly, batteries may come in other types.When a rechargeable battery is used, the battery may be charged from aport within the environment control system; otherwise the battery may betaken out from the environment control system to get charged, or even becharged using wireless charging techniques.

Additionally, a power generating device may be integrated in theenvironment control system. That is, in some of the embodiments, theenvironment control system may include one or more, or one or more setsof, generation devices. The energy source used for power generation mayinclude, without limitation to, coal, petroleum and its products,hydraulic power, wind energy, geothermal, methane, and solar power.Energy sources are not limited to the above-mentioned types, and otherenergy types may also be used for the generation of power in theenvironment control system, such as, incineration heat.

The above only lists some exemplary types of power that may support theoperation of the environment control system. However, it is to beunderstood that the types of power the environmental control system mayuse are not limited to the above examples. Additionally, multiple typesof power may be used together to supply energy for the environmentcontrol system or some of its modules.

The connection between different modules of the environment controlsystem, between modules and external devices, and between the system andstorage devices or cloud servers may be wired or wireless. Wiredconnections may include, without limitation to, metal cables, opticalcables, and hybrid cables. Exemplary embodiments of wired connectioninclude coaxial cables, communications cables, flexible cables, helixcables, non-metallic sheathed cables, metallic sheathed cables,multicore cables, paired cables, ribbon cables, shielded cables, singlecables, twinax cables, twin-lead cables, and twisted pair cables. Theabove examples are only for illustrative purposes, and the media forwired connection may come in other types, such as other transmissionmedia for electrical or optical signals. Wireless connections mayinclude, without limitation to, radio communication, free-space opticalcommunication, sonic communication, and electromagnetic inductioncommunication. Moreover, radio communication may include, withoutlimitation to, IEEE 802.11 series standards, IEEE 802.15 seriesstandards (such as Bluetooth and ZigBee technology), first generationmobile communication technology, second generation mobile communicationtechnology (such as, FDMA, TDMA, SDMA, CDMA, and SSMA), general packetradio service, third generation mobile communication technology (suchas, CDMA2000, WCDMA, TS-SDMA, and WiMax), fourth generation mobilecommunication technology (such as, TD-LTE and FDD-LTE), satellitecommunication (such as, GPS technology), and other technology thatoperates on ISM frequencies (such as 2.4 GHz). Free-space opticalcommunication may include, without limitation to, visible lights, andinfrared ray signals. Sonic communication may include, withoutlimitation to, sound wave and ultrasonic wave. Electromagnetic inductionmay include, without limitation to, near field communication technology.The above examples are only for illustrative purposes, and wirelessconnections may also come in other types, such as Z-wave technology,Bluetooth low energy (BLE) technology, 433 MHz communication protocolfrequencies, and other charged civil radio frequencies and militaryradio frequencies.

The connection methods between different modules in the environmentcontrol system, between modules and external devices, and between thesystem and storage devices or cloud servers are not limited to theabove-mentioned exemplary technologies. In the environment controlsystem, the above-mentioned connection methods may be used alone ortogether through the combination of multiple types of connectionmethods. In the case where multiple connection methods are usedtogether, corresponding gateway devices may be used to achieveinformation exchange. Different modules may be integrated to achievefunctions of more than one modules via the same device or electroniccomponent. External devices may also be integrated into devices orelectronic components of one or more modules, and one or more modulesmay be integrated on one or more external devices or electroniccomponents.

FIG. 5 shows an exemplary diagram of processing module 110 and itsperipheral devices. Processing module 110 may include one or moreprocessors 512. Processing module 110 may be connected with storagedevice 520 and other modules 530. Storage device 520 may also beincluded within processing module 110. Additionally, processing module110 may be selectively connected with one or more processing modules110-1, 110-2, and 110-N, or may not be connected with other processingmodules. Processing module 110 may also be connected with cloud server540 through other modules 530. Storage device 520 and/or cloud server540 may be part of the environment control system, or may be devicesexternal to the environment control system. For example, storage device520 or cloud server 540 may be provided by a third party. The connectionmethods mentioned herein may be wired or wireless. The internalconnection within processing module 110, and the connection betweenprocessing module 110 and peripheral devices are not limited to theexemplary embodiments shown in FIG. 5. One or more processor 512 inprocessing module 110 may be integrated on the same electroniccomponent, or may be any combination of multiple electronic components.

FIG. 6 is an exemplary flow chart of the process of processing module110 or its processing functions. In Step 610, processing function maygather information from other modules, storage device 520, or cloudserver 540. Step 620 may analyze and process the gathered information.Step 630 may make judgment of whether other modules need to take anaction, or whether, through the connection of other modules, externaldevices need to take an action. When action is needed, Step 680 may beexecuted to compare parameters and Step 690 may be executed to commandrelated modules. The parameters as used herein generally refer to anydata that may be compared with gathered information, including but notlimited to preset values, thresholds, reference values or predictivevalues. When action is not required, Step 640 may be executed tostatistically analyze gathered information, Step 650 may be executed toconstruct models according to gathered information, historically storedinformation and other parameters, and Step 660 may be executed to storedata. The processing function of processing module 110 may includeadditional steps, or may omit any one or more steps shown in FIG. 6. Forexample, when processing module 110 is processing the command of “openthe door,” statistical analysis in Step 640 and model construction inStep 650 may be omitted. In another example, Step 680 may be omitted,and if Step 630 decides that an action needs to be taken, Step 690 maybe executed to command related modules.

All data, including but not limited to user command, data detectedand/or monitored from sensing module 120, and data stored in cloudserver 540, after being gathered and processed by processing module 110,may be selectively stored in storage device 520 and cloud server 540 forfuture access and analysis by the processing module 110. The storagedevice 520 as used herein generally refers to any medium capable ofreading and/or writing data, and includes, without limitation to, randomaccess memory (RAM) and read-only memory (ROM). RAM may include, withoutlimitation to, dekatron, selectron tube, delay line memory, Williamstube, dynamic random access memory (DRAM), static random access memory(SRAM), thyristor random access memory (T-RAM), and zero capacitorrandom access memory (Z-RAM), etc. ROM may include, and withoutlimitation to, magnetic bubble memory, magnetic twister memory, magneticthin-film memory, magnetic plated wire memory, magnetic-core memory,drum memory, optical drive, hard disk, tape, early nonvolatile memory(NVRAM), phase change memory, magneto-resistive random access memorymodules, ferroelectric random access memory, nonvolatile SRAM, flashmemory, electronically erasable rewritable read-only memory, an erasableprogrammable read-only memory, programmable read-only memory, readshielded heap memory, floating connecting doors random access memory,nano-RAM, racetrack memory, variable resistive memory, and programmablemetallization cell, etc. The above-mentioned storage devices are onlyexemplary, and storage devices that may be used in connection with theenvironment control system are not limited to these examples.

In addition, the reading and writing of data may be through cloudstorage. Cloud storage is a part of cloud computing, which mainly usesthe Internet to connect one or more sets of remote servers to achievesome types of data storage and processing. Cloud computing used the inenvironment control system may be public, private, or a combination ofboth. For example, personal information of users as well as data andrelated parameters acquired from family or working environment may bestored and calculated on private clouds. Private clouds as mentionedherein may require some level of identity recognition during datareading and writing. On the other hand, information such as weather maybe retrieved from public clouds. Processing module 110 may select toread data from private or public clouds.

In addition to data storage, Cloud computing may also be used in dataanalysis. After the processing module 110 receives data, it may performSteps 640 to conduct statistical analysis and Step 650 to constructmodels. First, the processing module 110 may compile and organize datagathered by other modules, read from storage devices, and stored incloud server 540. Subsequently, these data may then be used as astatistical sample to assist construction of a mathematical model. Themathematical model may analyze, judge, predict, and imitateenvironmental changes and characteristics of user behaviors. Forexample, the characteristics may be modes of movement of humans andanimals indoor, time and numbers of light being turned on and off,habits of using electronic devices, personal information of users,choices of multimedia's form and content, and time for watching thereof,preference of temperature and humidity, time to open doors and windows,habits of locking doors, amount, temperature, and time of water usage,frequency of using the bathroom by user, habit of diet and healthconditions of users, user's habit of diet and language (may includeascents, habitual expressions, and emotional expressions), and visitor'spersonal information and visiting frequencies, etc. The above examplesmainly analyze and construct models based on information retrieved fromprivate clouds and other gathered data. Additionally, more completemodels may be constructed by adding to this basis information providedby public clouds. For example, the models may calculate appropriatetemperature, humidity, and ventilation time in a year or a day based onweather and climate information; the models may analyze users' socialrelationships with visitors based on social network; the models mayadjust safety standards for family living or working places based onlocal news, etc. These mathematical models utilize a large amount ofdata statistics, calculations, and empirical tests to predict and mimicuser and environmental variables. These types of models have manyutilities. For example, to analyze users' living or working habits suchthat users can realize automatic environment control through lesscommands. Through this kind of learning, the environment control systemis able to take corresponding measures when abnormal conditions (suchas, sudden weather change, users' underlying health problems, potentialsafety problems, and illegal entry) are found. Additionally, theenvironment control system may also mimic a user's usage of electronicdevices, so as to mitigate safety hazards even when the user is absent.Methods and applications of data statistical analysis and modelconstruction are not limited to the above examples. For example, thiskind of data statistical analysis may also utilize cloud server 540 andbig data to construct an artificial intelligence system, which may becapable of analyzing user movements and interacting with users, etc.

FIG. 7 shows an exemplary embodiment of sensing module 120 in theenvironment control system. Sensing module 120 may include one or moresensors 711-1, 711-2, and 711-N. Sensing module 120 may further connectwith other modules 720 and external devices 160. Sensors 711-1, 711-2,and 711-N may also be external devices, or some parts or electroniccomponents of external devices. FIG. 7 is only one exemplary embodimentof the internal structure of sensing module 120 and peripheral devices,and sensing module 120 may have different structures and be connectedwith different peripheral devices. The connection methods suggested heremay be wired or wireless. Sensing module 120 may have multiple sensors711-1, 711-2, and 711-N integrated on the same electronic component, oralternatively may have multiple electronic components (each contains oneor more sensors 711-1, 711-2, and 711-N) used together.

FIG. 8 is an operation flow chart of the sensing module 120 and sensingfunctions. Sensors 711-1, 711-2, and 711-N may detect and/or monitorchanges in Step 810, and may execute Step 820 to report the changes toprocessing module 110. Based on the judgment made in Step 830, if acommand is received, then Step 840 may be performed to execute thecommand and end the process; if a command is not received, the processmay be terminated directly. FIG. 8 is only one example of the process inthe operation of sensing module 120, and the function of sensing module120 is not limited to this.

When sensing module 120 transmits to processing module 110, thetransmitted content may be environmental or man-made changes that aredetected and/or monitored by the sensing module 120. When processingmodule 110 transmits to sensing module 120, the transmitted content maybe commands for some actions, such as controlling the angle of a cameraor turning on and off the infrared security mode. Under some situations(such as, without limitation to, breakdown of processing module 110 orfailure in connecting to processing module 110), sensing module 120 maybypass processing module 110, and communicate directly and exchange datawith one or more of control module 130, communication module 140, orexternal device 160. In another embodiment, sensors 711-1, 711-2, and711-N internal or external to the environment control system, afterhaving detected and/or monitored data, may send the data to processingmodule 110 through communication module 140 of the environment controlsystem via wired or wireless signals.

Types of data that may be acquired by one or more sensors 711-1, 711-2,and 711-N include but are not limited to physical data, chemical data,and biological data, etc. Physical data may include but are not limitedto sound, light, time, weight, proximity, location, temperature,humidity, pressure, current, velocity and acceleration, inhalableparticles, radiation, text, image, touch sense, pupil lines, andfingerprints, etc. Chemical data may include but are not limited to airpollution, water pollution, carbon monoxide intensity, and carbondioxide intensity, etc. Biological data may include but are not limitedto a living organism's blood pressure, heartbeat rate, blood sugarlevel, and insulin level, etc. The above examples are only forillustrative purposes, and data that may be detected and/or monitoredare not limited to these examples. For example, gas composition sensor1329 (see FIGS. 13A-13D) may detect and/or monitor gas composition ofthe surrounding atmosphere, including but not limited to carbonmonoxide, carbon dioxide, oxygen, nitrogen, and ammonium, etc. Gascomposition sensors 1329 include but are not limited to semiconductorgas sensors, electrochemical gas sensors, catalytic combustion gassensors, thermal conductivity gas sensors, infrared gas sensors, andsolid-state electrolyte gas sensors, etc. Gas composition sensors 1329(see FIGS. 13A-13D) include but are not limited to enzyme sensors,microorganism sensors, cell sensors, tissue sensors, immunity sensors,biological electrode sensors, semiconductor biosensors, opticalbiosensors, thermal biosensors, and piezo crystal sensors, etc. A gascomposition sensor 1329 may detect and/or monitor various biologicalinformation, including but not limited to blood sugar level, heartbeat,facial expression, age, pupil, hairstyle, scent, microorganism, andallergen, etc. It shall be noted that the above descriptions regardinggas composition sensor 1329 are for illustrative purposes only. In termsof the physical structure of the gas composition sensor 1329, it maycomprise multiple independent sensors, and the independent sensors maybe, for example, a gas sensor, and a pheromone sensor. In someembodiments, one gas composition sensor 1329 may detect and/or monitorone type of gas composition. In other embodiments, one gas compositionsensor 1329 may detect and/or monitor multiple gas compositions. Theabove-mentioned data types are only some examples provided forillustrative purposes, and types of data acquirable by sensing module120 include others, such as users' emotions and magnetic fields.Additionally, many different kinds of devices and methods can be used todetect and/or monitor aforementioned types of data. Devices used todetect and/or monitor sound include but are not limited to microphones,etc. Devices used to detect and/or monitor light include but are notlimited to light intensity sensors and ambient light sensors, etc.Specifically, ambient and proximity sensor 1323 (see FIGS. 13A-13D) mayhave photosensitive components, the photosensitive components includingbut not limited to photoresistors, photodiodes, phototriodes, andsilicon photovoltaic batteries, etc. The photosensitive componentsconvert light condition of the surrounding environment into electricalsignals. Ambient and proximity sensor 1323 may sense nearby lightcondition through processing the electrical signals. Devices used todetect and/or monitor time include but are not limited to mechanicalwatches and electric watches, etc. Devices used to detect and/or monitorweight include but are not limited to spring scales and electronicscales, etc. Devices used to detect and/or monitor proximity include butare not limited to transmitting and receiving devices of electromagneticfields, etc. Devices used to detect and/or monitor location include butare not limited to microwave ranging systems, passive infrared sensors,ultrasonic sensors, and tomography sensors, etc. Specifically, whenmotion sensor 1326 (see FIGS. 13A-13D) uses microwave ranging mechanism,it may first send microwave to the surrounding area. When the microwavereaches an object that may not be bypassed, the microwave may then bereflected. Motion sensor 1326 may receive the reflected microwave anddetermine the distance of that object. Through continuously receivingreflected microwaves, the motion sensor 1326 may recognize whether theobject is moving or not. Devices used to detect and/or monitortemperature include but are not limited to resistance thermometers,silicon band gap temperature sensors, infrared thermometers, andthermistor temperature sensors, etc. Devices used to detect and/ormonitor humidity include but are not limited to capacitive humiditysensors, resistive humidity sensors, thermal conductivity humiditysensors, and gravimetric hygrometers, etc. Devices used to detect and/ormonitor pressure include but are not limited barometers, force sensors,pressure sensors, manometers, McLeod gauges and, pressurized manometers,etc. Devices used to detect and/or monitor current include but are notlimited to moving-coil ammeters, moving-iron ammeters, thermocoupleammeters, hot-wire ammeters, and digital ammeters, etc. Devices used todetect and/or monitor velocity and acceleration include but are notlimited to microwave speedometers, photoelectric velocity sensors,optoelectronic wind speed sensors, photoelectric speed sensors,magnetic-electric speed sensors, and Hall-type speed sensors, etc.Devices used to detect and/or monitor inhalable particles include,without limitation to, beta rays and trace volatile balances. Devicesused to detect and/or monitor radiation include, without limitation to,actinometers, pyrheliometers, and Geiger counters. Devices used todetect and/or monitor text include but are not limited to mechanicalkeyboards, conductive rubber keyboards, and contactless electrostaticcapacitance keyboards, etc. Devices used to detect and/or monitor imagesinclude but are not limited to optical cameras, etc. Devices used todetect and/or monitor touch sense include but are not limited to tactilesensors, etc. Devices used to detect and/or monitor iris or fingerprintinclude but are not limited to optical identifications, capacitivesensors, biological radio frequencies, and digital opticalidentifications, etc. Devices used to detect and/or monitor air andwater pollutions include but are not limited to chemistry reagents, pHmonitors, conductivity meters, dissolved oxygen monitors, andnephelometers, etc. Devices used to detect and/or monitor microorganismsinclude but are not limited to biological toxicity test apparatuses,etc. Devices used to detect and/or monitor allergen include but are notlimited to enzyme-linked immunosorbent assays, lateral flow assays,polymerase chain reactions, and adenosine triphosphate (ATP) assays,etc. The recognition of identity of moving objects includes but is notlimited to sizes of objects, movement speeds, and movement modes, etc.The recognition of identity of sounds includes but is not limited tofrequencies, amplitude (loudness), and rhythm, etc. The recognition onthe identity of images includes but is not limited to themes of imagesand figures' appearances, ages, heights, races, and body builds withinthe images. The recognition on the identity of touch senses include butis not limited to force intensities, contact positions, forcedirections, force durations, force gap durations, and changes in forcedirections and magnitudes, etc. The above examples of sensible data areonly for illustrative purposes, and sensible data may include many othertypes, such as identity of moving objects and users' emotions. Thedevices and parameters mentioned above are only some examples, and thereare other devices and methods to achieve the function of sensing.Detected and/or monitored data may be recognized, and compared with areference value, reference range, threshold, preset value, or predictedvalue.

One sensor may sense one or more items, and the following examples ofsensors may be used. Additionally, multiple sensors may be integrated onthe sensing module 120, or the external devices 160. For example, atouch screen may be used to recognize text input and hand gestures, andmay verify password information. A camera with a microphone may be usedto gather inanimate or animate images and sounds. A system integratingmicrowave, infrared, and thermal induction technologies, may be used tosense movements of humans, animals, and other objects, and apply relatedjudgments. A light sensing system may detect and/or monitor sunlightintensity, time, visibility, and on/off conditions of lights. A physicalswitch may adjust lights by detecting and/or monitoring a user's changeto the switch. A sensor may constantly perform the detecting and/ormonitoring functions (such as to detect and/or monitor all day), or mayperform the detecting and/or monitoring functions at certain time (suchas once every minute, once every two minutes, etc), or may perform thedetecting and/or monitoring function only when activated (such as,activated under user inputs or pre-set commands, or activated whenenvironmental data exceed a pre-set threshold, etc.). Different sensorsmay work independently. For example, each sensor's detected and/ormonitored data, time of sensing, and communication with other modules ofthe environment control system may be independent. The above examplesonly describe some possible functions of the sensing module, and are byno means limiting.

In addition to the data detected and/or monitored by sensing module 120,processing module 110 may also acquire or process data detected and/ormonitored by external sensors or sensing devices. For example, there maybe a wireless camera outdoor, which works as part of a security systemindependent of the environment control system. The environment controlsystem may access images taken by this wireless camera, analyze theimages, thus to judge whether any further action is needed. In anotherexample, a user may use a blood glucose meter independent of or externalto the environment control system. The environment control system mayaccess the user's blood sugar information from this device, analyze itindependently or together with other information in the environmentcontrol system (such as the user's health history data, diagnosis ortreatment plan of a doctor, etc.), thus to determine whether any furtheraction is needed.

FIG. 9 illustrates the structure of control module 130 of theenvironment control system and peripheral devices. Control module 130may include one or more controllers 911-1, 911-2, and 911-N. Controlmodule 130 is further connected with other modules 920 and externaldevices 160. Controllers 911-1, 911-2, and 911-N may also be externaldevices, or a part or an electronic component of external devices. FIG.9 is only an example of control module 130 and peripheral devices, andcontrol module 130 may have other different structures and connect withother different peripheral devices. The connection methods here may bewired or wireless. Control module 130 may have multiple controllers911-1, 911-2, and 911-N integrated on a same electronic component, ormay have multiple electronic components (each contains one or morecontrollers 911-1, 911-2, and 911-N).

FIG. 10 is an operation flow chart of control module 130 and relatedcontrolling functions. Step 1010 may decide whether processing module110 has made a command, and if a command has been made, Step 1020 may beexecuted; if a command has not been made, Step 1030 may be executed androute back to the start of this process. FIG. 10 is only an example ofthe process that may be conducted by control module 130, andfunctionality of control module 130 is not limited to the described.

When processing module 110 transmits to control module 130, thetransmitted content may be action commands. When control module 130transmits to processing module 110, the transmitted content may bereports for action completion, requests for performing actions, andreports of errors. In some situations (such as but not limited tobreakdown of processing module 110 or failure in the connection withprocessing module 110), control module 130 may bypass processing module110 and communicate and exchange data directly with sensing module 120,communication module 140, and external device 160. In anotherembodiment, processing module 110 may transmit signals to controllers911-1, 911-2, and 911-N through communication module 140, so as toprovide commands to controllers 911-1, 911-2, and 911-N.

Controllers 911-1, 911-2, and 911-N may be included in control module130, or may be placed on external device 160. During the controlprocess, one controller may execute actions, or multiple controllers maycooperate to execute actions. Controllable subjects may include, withoutlimitation to, direct control of current, control of machines andcomputer devices, etc. Direct control of current includes, withoutlimitation to, power on/off and current supply of the external devices.For example, controlling power on/off and current supply of the electricwarming plates and compressors in air conditioners, controlling poweron/off and current supply of lights, controlling power on/off andcurrent supply of refrigerators, controlling power on/off and currentsupply of water boilers, controlling power on/off and current supply ofelectric stoves, controlling power on/off and current supply ofmicrowave ovens, controlling power on/off and current supply of ovens,controlling the power on/off and current supply of coffee machines,controlling power on/off and current supply of washers, controllingpower on/off and current supply of dish washers, controlling poweron/off and current supply of dryers, controlling power on/off andcurrent supply of multimedia devices, controlling power on/off andcurrent supply of cameras, controlling power on/off and current supplyof radio devices, controlling power on/off and current supply of storagedevices, controlling power on/off and current supply of alarms, andcontrolling power on/off and current supply of auto ignitions, etc. Theabove examples are only for illustrative purposes, and controllablecurrent may also include other aspects, such as current of networkdevices and anti-theft alarms. Control of machines includes, withoutlimitation to, controlling machines' on/off conditions, magnitudes,velocities, accelerations, rotation angles, angular velocities andangular accelerations of displacements. For example, controlling on/offconditions of gas supply valves of gas stoves, controlling locks ofdoors and windows, controlling opening levels of vent outlets,controlling opening levels of smoke detectors, controlling openinglevels, velocities and accelerations of curtains, controlling openinglevels, velocities and accelerations of safety fences, controllingopening levels, fan velocities and accelerations of ventilators,controlling on/off conditions of fire sprinkler valves, controllingopening levels, velocities and accelerations of water valves of waterboilers, controlling opening levels, velocities and accelerations ofheat valves, controlling opening levels, velocities and accelerations ofwater storage and draining of bathtubs, controlling opening levels,velocities and accelerations of water storage and draining of toilets,and controlling stopped locations, rising and falling velocities andaccelerations of elevators, etc. The above examples are only forillustrative purposes, and controllable machines may include otheraspects, such as movement of electronic toys and family robots. Computerdevices, which may include, without limitation to, personal computers,servers, and microelectronic devices, may be used for, for example,controlling personal desktop computers, controlling personal laptopcomputers, controlling PDAs, controlling tablets, controlling mobileterminals, controlling smart televisions, controlling smartrefrigerators, controlling smart microwaves, controlling smart stoves,controlling robots, controlling public servers, controlling private orcompany servers, controlling smart lighting devices, controlling imagetaking devices, and controlling sound taking devices, etc. The aboveexamples are only for illustrative purposes, controllable computerdevices may include other aspects such as smart anti-theft systems andon-vehicle electronic systems.

FIG. 11 shows the structure and peripheral devices of communicationmodule 140 of the environment control system. Communication module 140may include one or more signal input devices 1111, one or more gateways1112, and one or more signal output devices 1113. Gateways 1112 mayinclude, without limitation to, one or more gateways, one or moreprotocol translators, and one or more smart gateways. Specifically,smart gateways may include, without limitation to, one or more networkmodules, such as, Bluetooth modules, WLAN modules, ZigBee modules, GPRSmodules, satellite GPS modules, near field communication modules, andother 2.4 GHz frequency modules, etc. More specifically, smart gatewaysmay include, without limitation to, one or more network devices, suchas, Bluetooth network devices, routers, ZigBee network devices, carrieroperator network devices, satellite GPS devices, payment and pairingdevices, and other devices using 2.4 GHz frequencies, etc. Thecommunication types supported by network modules and network devices arenot limited to the above-mentioned examples, and may also be other typesmentioned above, which will not be repeated here. Communication module140 may also connect with external device 160 and other modules 1130,and may also selectively connect with other communication modules 140-1,140-2, and 140-N, etc. FIG. 11 is only an example of the internal andperipheral structures of communication module 140, and communicationmodule 140 may have other different structures and connect with otherdifferent peripheral devices. The connection methods mentioned hereinmay be wired or wireless. Communication module 140 may have multiplecommunication protocols, network modules and/or network devicesintegrated on the same electronic component, and may also have multipleelectronic components (each contains one or more communicationprotocols, network modules and/or network devices).

FIG. 12 shows an operation flow chart of the communication module 140and its communication functions in the environment control system. Step1210 may judge whether processing module 110 has sent communicationcommands. If a command has not been sent, Step 1250 may be performed tostand by and return to the start of the process. If a command has beensent, Step 1220 may be performed to establish communication, followed byStep 1230 to turn on related devices and Step 1240 to transmit data.FIG. 12 is only an example of the process that may be executed bycommunication module 140, and the functions of communication module 140are not limited to it.

When processing module 110 transmits content to communication module140, the transmitted content may be commands to establish connection forcommunication, or other information that needs to be transmittedoutwards, etc. When communication module 140 transmits content toprocessing module 110, the transmitted content may be acquiredinformation, and requests to communicate outwards, etc. In somesituations (such as but not limited to breakdown of processing module110 or failure in the connection with processing module 110),communication module 140 may bypass processing module 110 andcommunicate and exchange data directly with one or more of sensingmodule 120, control module 130, other communication module 140, andexternal device 160.

The connection methods between communication module 140 and exteriorenvironment or other communication module 140 of the environment controlsystem may be wired or wireless. Wired connections may include, withoutlimitation to, metal cables, optical cables, and hybrid cables, forexample, coaxial cables, communications cables, flexible cables, helixcables, non-metallic sheathed cables, metallic sheathed cables,multicore cables, paired cables, ribbon cables, shielded cables, singlecables, twinax cables, twin-lead cables, and twisted pair cables, etc.The above examples are only for illustrative purposes, the medium ofwired connection may be in other types, such as other transmission mediafor electric or optical signals. Wireless connection may include,without limitation to, radio communication, free-space opticalcommunication, sonic communication, and electromagnetic inductioncommunication, etc. Moreover, radio communication may include, withoutlimitation to, IEEE 802.11 series standards, IEEE 802.15 seriesstandards (such as Bluetooth and ZigBee technology), first-generationmobile communication technology, second-generation mobile communicationtechnology (such as, FDMA, TDMA, SDMA, CDMA, and SSMA), general packetradio service, third-generation mobile communication technology (suchas, CDMA2000, WCDMA, TS-SDMA, and WiMax), fourth-generation mobilecommunication technology (such as, TD-LTE and FDD-LTE), satellitecommunication (such as, GPS technology), and other technology thatoperates on ISM frequencies (such as 2.4 GHz), etc. Free-space opticalcommunication may include, without limitation to, visible lights, andinfrared signals, etc. Sonic communication may include, withoutlimitation to, sound waves and supersonic waves, etc. Electromagneticinduction may include, without limitation to, near field communicationtechnology, etc. The above examples are only for illustrative purposes,and wireless connections may also be in other types, such as Z-wavetechnology, Bluetooth low energy (BLE) technology, 433 MHz communicationprotocol frequencies, other charged civil radio frequencies and militaryradio frequencies, etc.

Devices used to communicate may be modules within the environmentcontrol system, external personal devices, and external public devices,etc. Modules within the environment control system may include, withoutlimitation to, processing module 110, sensing module 120, control module130, and communication module 140, etc. Other devices related tocommunication module 140 may include, without limitation to, cameras,microphones, displays, and touch screens, etc. The above examples areonly to provide a better understanding, and the internal modules of theenvironment control system may have other devices, such as, alarmsystems and notification systems, etc. External personal devices mayinclude, without limitation to, wireless equipment or wired equipment,such as, personal desktop computers, personal laptop computers, PDAs,tablets, mobile terminals, personal or company servers, private clouds,and on-vehicle communication systems, etc. The above examples are onlyto provide a better understanding, and external personal devices mayhave other devices, such as, kitchen electronic devices withcommunication functions, and bathroom electronic devices withcommunication functions, etc. External public devices may include butare not limited to wired or wireless devices, such as public securitynetwork devices, Internet devices, others' personal desktop computers,others' personal laptop computers, others' PDAs, tablets, others' mobileterminals, others' on-vehicle communication systems, and others' publicservers and cloud servers 540, etc. The above examples are only toprovide a better understanding, and the external public devices may haveother devices such as communication module 140 within the environmentcontrol system owned by other users in a group. Tasks that may beperformed by communication module 140 include but are not limited tocommunication between multiple communication modules 140 in theenvironment control system, communication between the environmentcontrol system and mobile devices, communication between the environmentcontrol system and smart devices on vehicles, and communication betweenthe environment control system and the Internet, etc. Specifically,communication module 140 may execute video telephone within theenvironment control system, exchange messages with cellphones, power andcontrol vehicles, and acquire information from the Internet, etc. Morespecifically, examples of the functions of communication module 140further include video and/or phone calls within a family environment(such as between upstairs and down stairs, and between different rooms),downloading from the Internet local life information such as storediscounts and sending notifications to users via the system's internalmodules or mobile devices, and enabling users to further download anduse such local life information through for example, near fieldcommunication technology.

The examples below are some functions that may be achieved by theenvironment control system. Such examples are for illustrative purposes,and the functions of the environment control system are not limited tothese examples.

FIG. 13-A, FIG. 13-B, FIG. 13-C, and FIG. 13-D are some examples of themodules mentioned above. It should be noted that the modules in theenvironment control system may have other different forms, and are notlimited to the examples described below.

FIG. 13-A, FIG. 13-B, FIG. 13-C, and FIG. 13-D each has processingmodule 110, sensing module 120, control module 130, communication module140, external device 160 and power module 1350. FIG. 13-A and FIG. 13-Crepresent the module structures of two types of smart switches. FIG.13-B and FIG. 13-D represent the module structures of two types ofsimplified smart switches (hereinafter referred to as simplifiedswitch).

In FIG. 13-A, processing module 110 may include, without limitation to,storage device 1313, processor A 1311, and processor B 1312, etc.Processor A 1311 is further connected with sensing module 120, andsensing module 120 include, without limitations to, one or more sensorsof sound sensor 1321, temperature and humidity sensor 1322, ambient andproximity sensor 1323, current sensor 1324, user interface 1325, motionsensor 1326, image sensor 1327 (such as, and without limitation to,cameras, etc.), fingerprint sensor 1328, and gas composition sensor1329, etc. The examples in sensing module are only for illustrativepurposes, and sensing module 120 may also include other sensorsmentioned above in the descriptions of sensing module 120. Processor A1311 is also connected with speaker 1363, buzzer 1364, NFC tag 1365, andother external devices, etc. Processor A 1311 also is connected withcommunication module 140, and communication module may include, withoutlimitation to, one or more of WLAN module, Bluetooth module, GPRSmodule, NFC module, ZigBee module, and other 2.4 GHz module, etc. One ormore of the examples mentioned for communication module are only forillustrative purposes, and communication module 140 may also includeother communication methods mentioned above in the descriptions ofcommunication module 140. Communication module 140 is further connectedwith network devices 1340, and network devices 1340 may include, withoutlimitation to, one or more selected from routers, Bluetooth networkdevices, carrier operator network devices, payment/pairing devices,ZigBee network devices, etc. Examples of network device 1340 are onlyfor illustrative purposes, and it may also be in other types, such assatellite positioning devices, etc. As part of network device 1340,routers may be connected with wireless device 1341, and carrier operatornetwork devices may be connected with SIM card 1342. SIM card may alsobe connected with processor A 1311. Processor A 1311 may connect withprocessor B 1312, and processor B 1312 may be further connected withinput device 1320 and control module 130, etc. Control module 130includes, without limitation to, one or more switch/dimmer 1331. Theswitch/dimmer 1331 may connect with power 1361 in external device 160through power module 1350, and in the meantime may connect with andcontrol external device—light 1362. On the other hand, switch/dimmer1331 may also connect with current sensor 1324.

In FIG. 13-B, processing module 110 may include, without limitations to,storage device 1313, and processor 1310, etc. Processor 1310 may befurther connected with sensing module 120, and sensing module 120include but are not limited to one or more of sound sensor 1321,temperature and humidity sensor 1322, ambient and proximity sensor 1323,current sensor 1324, motion sensor 1326, image sensor 1327 (such as, andwithout limitation to, cameras), fingerprint sensor 1328, and gascomposition sensor 1329, etc. The examples in sensing module are onlyfor illustrative purposes, and sensing module 120 may also include othersensors mentioned above in the descriptions of sensing module 120.Processor 1310 also may connect with speaker 1363, buzzer 1364, NFC tag1365, and other external devices, etc. Processor 1310 may also connectwith communication module 140, and communication module may include butare not limited to one or more of WLAN module, Bluetooth module, GPRSmodule, NFC module, ZigBee module, and other 2.4 GHz module, etc. One ormore of the examples mentioned for communication module are only forillustrative purposes, and communication module 140 may also include anyother connection methods mentioned above in the descriptions ofcommunication module 140. Communication module 140 is further connectedwith network devices 1340, and network devices 1340 may include, withoutlimitation to, one or more selected from: routers, Bluetooth networkdevices, carrier operator network devices, payment/pairing devices, andZigBee network devices, etc. Examples of network device 1340 are onlyfor illustrative purposes, and it may also be in other types, such assatellite positioning devices. As part of network device 1340, routersmay be connected with wireless device 1341, and carrier operator networkdevices may be connected with SIM card 1342. SIM card may also beconnected with processor 1310. Processor 1310 may be further connectedwith control module 130. Control module 130 includes, without limitationto, one or more switch/dimmer 1331. The switch/dimmer 1331 may connectwith power 1361 in external device 160 through power module 1350, and inthe meantime may connect with and control external device—light 1362. Onthe other hand, switch/dimmer 1331 may also connect with current sensor1324.

Processing module 110 as shown in FIG. 13-C may include, withoutlimitations of, storage device 1313, processor A 1311, and processor B1312. Processor A 1311 may be further connected with sensing module 120,and sensing module 120 may include, without limitations to, one or moreselected from sound sensor 1321, temperature and humidity sensor 1322,ambient and proximity sensor 1323, current sensor 1324, user interface1325, motion sensor 1326, image sensor 1327 (such as but not limited tocameras), fingerprint sensor 1328, and gas composition sensor 1329, etc.The examples of sensing module are only for illustrative purposes, andsensing module 120 may also include other sensors mentioned above in thedescriptions of sensing module 120. Processor A 1311 may also connectwith speaker 1363, buzzer 1364, NFC tag 1365, and other externaldevices, etc. Processor A 1311 may also connect with communicationmodule 140, and communication module 140 may include but are not limitedto network module 1360 and network device 1370 in communication module,etc. Network module in communication module 1360 may include but are notlimited to one or more selected from: WLAN module, Bluetooth module,GPRS module, NFC module, ZigBee module, and other 2.4 GHz module, etc.One or more of the examples mentioned for network module are only forillustrative purposes, and network module in communication module 1360may also include other communication methods mentioned above in thedescriptions of communication module 140. Network devices 1370 incommunication module may include but are not limited to one or more ofrouters, Bluetooth network devices, carrier operator network devices,payment/pairing devices, ZigBee network devices, etc. Examples ofnetwork device 1370 in communication module are only for illustrativepurposes, and it may also come in other forms, such as satellitepositioning devices. As part of network device 1370, routers may beconnected with wireless device 1341, and carrier operator networkdevices may be connected with SIM card 1342. SIM card may also beconnected with processor A 1311. Processor A 1311 may connect withprocessor B 1312, and processor B 1312 may be further connected withinput device 1320 and control module 130, etc. Control module 130 mayinclude, without limitation to, one or more switch/dimmer 1331. Theswitch/dimmer 1331 may connect with power 1361 in external device 160through power module 1350, and in the meantime may connect with andcontrol external device—light 1362. On the other hand, switch/dimmer1331 also connects with current sensor 1324.

In FIG. 13-D, processing module 110 may include, without limitation to,storage device 1313, and processor 1310, etc. Processor 1310 may befurther connected with sensing module 120, and sensing module 120 mayinclude, without limitations to, one or more of input device 1320, soundsensor 1321, temperature and humidity sensor 1322, ambient and proximitysensor 1323, current sensor 1324, motion sensor 1326, image sensor 1327(such as but not limited to cameras), fingerprint sensor 1328, and gascomposition sensor 1329, etc. The examples in sensing module are onlyfor illustrative purposes, and sensing module 120 may include othersensors mentioned above in the descriptions of sensing module 120.Processor 1310 may also connect with speaker 1363, buzzer 1364, NFC tag1365, and other external devices, etc. Processor 1310 may also connectwith communication module 140, and communication module 140 may include,without limitation to, network module 1360 in communication module, andnetwork device 1370 in communication module. Network module 1360 incommunication module may include, without limitation to, one or moreselected form WLAN module, Bluetooth module, GPRS module, NFC module,ZigBee module, and other 2.4 GHz modules, etc. Those examples mentionedfor network module are only for illustrative purposes and the networkmodule 1360 in communication module may also include other communicationmethods mentioned above as described by communication module 140.Network device 1370 in communication module may include, withoutlimitation to, one or more selected from routers, Bluetooth networkdevices, carrier operator network devices, payment/pairing devices, andZigBee network devices, etc. Examples of network device 1370 incommunication module are only for illustrative purposes, and it may alsocome in other forms such as satellite positioning devices. As part ofnetwork device 1370, routers may be connected with wireless device 1341,and carrier operator network devices may be connected with SIM card1342. SIM card may also be connected with processor 1310. Processor 1310may be further connected with input device 1320 and control module 130,etc. Control module 130 may include, without limitation to, one or moreswitch/dimmer 1331. The switch/dimmer 1331 may connect with power 1361in external device 160 through power module 1350, and in the meantimemay connect with and control external device—light 1362. On the otherhand, switch/dimmer 1331 may also connect with current sensor 1324.

Based on, by way of example and without any limitation, the forms ofmodules in the above descriptions, the environment control system mayachieve a series of smart, automatic, manual, or semi-automaticoperations. For example, such operations may be, adjusting home lightingdevices through automatic sensing of movements of persons, detecting andalarming functions of smart home security system, automatic temperatureand humidity adjustment, internal video calls, calendar, weather, andsecurity notifications, utility fee payments, shopping, and personalmoney transfers, preset or automatic control of home appliances, and GPSlocation confirmation of family members and pets. The above examplesonly constitute a small portion of the functions environment controlsystem may have, and the examples are only for illustrative purposes.The environment control system may also have other functions, such ascommunication with mobile devices by forming a network, and controllingof automobiles.

FIG. 14 shows an exemplary embodiment of connection methods between eachcomponent of the environment control system. One or more smart switches1410, one or more simplified smart switches 1420, and one or more mobiledevices 1430 may be connected through network and/or master-slave mode.They may also connect to a cloud server 540 separately. In oneembodiment, smart switch 1410 may have a first panel (front panel) and asecond panel (back panel), and a third panel representing simplifiedsmart switch 1420. The above examples of smart switch 1410 andsimplified smart switch 1420 are only intended to provide a betterunderstanding, and there may be other forms. For example, the firstpanel of smart switch 1410 may also be installed on simplified switch1420. One example of the aforementioned connection method is providedbelow: one or more smart switches 1410, one or more simplified smartswitches 1420, and one or more mobile devices 1430 may join the samewireless local area network (WLAN) and obtain corresponding networkaddresses to accomplish pairing. One or more smart switches 1410, one ormore simplified smart switches 1420, and one or more mobile devices 1430may use IEEE 802.15.1 Bluetooth technology standards, and have one ofthe devices acting as a master device while others as slave devices toaccomplish pairing. One or more smart switches 1410, one or moresimplified smart switches 1420 and one or more mobile devices 1430 mayuse IEEE 802.15.4 ZigBee technology standards, and make one device acoordinator, with other devices sending connection requests for thecoordinator to respond, and accomplish pairing. One or more smartswitches 1410, one or more simplified smart switches 1420, and one ormore mobile devices 1430 may use infrared communication technology toestablishing a piconet and accomplish pairing. One or more smartswitches 1410, one or more simplified smart switches 1420, and one ormore mobile devices 1430 may use inductive coupling technology in nearfield communications, and have one device sending electronic signals foranother device to receive to accomplish pairing between the two devices,between one panel and another panel. The above examples are only forillustrative purposes, and pairing methods may also be other types. Forexample, one or more smart switches 1410, one or more simplified smartswitches 1420, and one or more mobile devices 1430 may respectivelyperform face recognition and pairing. Furthermore, when using Bluetoothtechnology, the pairing process may be done in master-slave modes asmentioned above, or by point-to-point modes. For example, one or moresmart switches 1410, one or more simplified smart switches 1420, and oneor more mobile devices 1430 may establish a Bluetooth local areanetwork. A Bluetooth local area network may have but is not limited to apoint-to-point topological structure. Such Bluetooth local area networkmay also have a bus topological structure, a star topological structure,a mesh topological structure, a tree topological structure, a mixedtopological structure, a daisy chain topological structure, a lineartopological structure, and a master-slave topological structure, etc.Additionally, mobile device 1430 may also connect with the environmentcontrol system through a router, using carrier operator networks, orusing WLAN.

One or more smart switches 1410, one or more simplified switches 1420and one or more mobile devices 1430 may be connected with the Internetand cloud server 540 through wireless LAN network module. One or moresmart switches 1410 may be connected with devices including but notlimited to light 1441-1, thermometer 1442-1, vent outlet 1443-1, smartplug 1444-1, home appliance 1445-1, security device 1446-1, fan 1447-1,and television 1448-1, etc. One or more simplified smart switches 1420may be connected with devices including but not limited to light 1441-2,thermometer 1442-2, vent outlet 1443-2, smart plug 1444-2, homeappliance 1445-2, security device 1446-2, fan 1447-2, and television1448-2, etc. One or more mobile devices 1430 may be connected withdevices including but not limited to light 1441-3, thermometer 1442-3,vent outlet 1443-3, smart plug 1444-3, home appliance 1445-3, securitydevice 1446-3, fan 1447-3, or television 1448-3, etc. Fan 1447 may alsobe a mechanical fan, a desk fan, an exhaust fan, a box fan, or an airconditioning fan (i.e., a cooling fan), etc. Fan 1447 may be any type ofthe examples mentioned above or any combination thereof. The connectionmethods mentioned here are, by way of example and without limitation,Bluetooth technology, WLAN technology, ZigBee technology, infraredtechnology, and near field communication technology, etc. The examplesof connection methods mentioned here are only for illustrative purposes,and connection methods may be in other forms, such as, cellularnetworks, GPS satellite signals, other 2.4 GHz wireless communicationtechnologies, and any other connection methods mentioned above. Homeappliances (1445-1, 1445-2, and 1445-3) may be directly connected withone or more smart switches 1410, one or more simplified smart switches1420, and one or more mobile devices 1430, and may also be connected toone or more smart switches 1410, one or more simplified smart switches1420, or one or more mobile devices 1430 through smart plugs (1444-1,1444-2, and 1444-3). Connection methods between home appliances (1445-1,1445-2, and 1445-3) and smart plugs (1444-1, 1444-2, and 1444-3) mayinclude, without limitation to, standard plugs, etc.

The examples for wired or wireless connection methods in FIG. 14 areonly for illustrative purposes, and wired or wireless connection maycome in other forms. These connection methods have been described abovein detail, and will not be repeated here. The examples of devices in theenvironment control system are also only for illustrative purposes. Inaddition to devices mentioned above such as lights, thermometers, andvent outlets, there may be other types of devices such as smart switchtags, which may be used to control multi-control switches. Newlypurchased or upgraded home appliances may be configured through any ofsmart switch 1410, simplified smart switch 1420, and mobile device 1430,in order to join the network of the environment control system.

FIG. 15 is a structural diagram of a smart switch of the environmentcontrol system. An environment control system may include one or moresmart switches, and FIG. 15 is a diagram of a smart switch's structure.The smart switch used herein may include a first panel 1510 and a secondpanel 1530. The first panel 1510 may be connected to the second panel1530 in a detachable manner. Methods used to achieve the detachableconnection include but are not limited to one or more of magneticconnection, pin connection, elastic deformation connection, buckleconnection or plug-in connection, etc., and may be any method that mayconnected two independent panels in a detachable way, such as expansionbolt or data port. In practical applications, the second panel 1530 maybe placed on a wall or any other appropriate position, and the firstpanel 1510 could be installed or buckled on the second panel 1530. Inthis situation, because the first panel 1510 faces the user directly, itmay be referred to as the front panel, and because the second panel 1530is covered, it may be referred to as the back panel. However, differentterms may be used in different installation situations. The first panelmay be removed or detached, then a user may see the second panel 1530 ormanipulate the second panel 1530. The first panel 1510 may be removed ordetached repeatedly from the second panel and may be installed orbuckled onto the second panel. Additionally, a physical cover may existbetween the first panel 1510 and the second panel 1530. When the firstpanel 1510 is detached, the physical cover 1520 may provide shielding toat least part of the second panel 1530 (such as the power line, circuitboard or other structures of the second panel), avoiding that part beingexposed to the user directly.

The exterior of first panel 1510 may include, without limitation to, acamera device 1511, and an input/output module. The camera device 1511may collect video and/or audio; images of the video could be static ordynamic. The point of view, focus length, resolution, shooting mode andshooting time period of the camera device 1511 may be set or modified bya user or the system. The camera device 1511 may include an anti-peepingdesign, i.e., placing a physical cover on the first panel 1510, suchthat a user may choose to turn on or off the camera freely, and avoidremote operation by others (such as malicious remote operation etc.) ofthe camera to acquire information.

The input/output module may include, and without limitation to, button1512 and touch screen 1513. The button 1512 may be used as a shortcutbutton, such as function shortcut button, return shortcut button or menushortcut button, etc. The touch screen 1513 may have both input andoutput functions, and is the operation interface for a user to use thecontrol system environment. Types of inputted and outputted informationmay include but is not limited to number, analog quantity, charactersymbol, voice, graphic image, etc. The type of the touch screen 1513 maybe chosen according to a user's specific need, and may include but isnot limited to resistive touch screen, capacitive touch screen, infraredtouch screen, surface acoustic wave touch screen, etc. It should benoted that it is possible but is not required to install theinput/output module on the first panel 1510. Other technology may beused to realize the input/output function. For example, the touch screen1513 on the first panel 1510 may be replaced by one or more devices withinput and/or output function. When a single device is used, it mayinclude but is not limited to a cellular phone, a PDA, a tabletcomputer, a touch screen television, a wearable smart device (such asglasses, gloves, bracelet, watch, clothes, shoes, etc.), etc. When morethan one devices are used, they may include but are not limited to acomputer (desktop computer, laptop computer, etc.) with a keyboard (ormouse), a television (flat-panel television, cathode ray tubetelevision, rear-projection television, three-dimension television,etc.) with a remote controller (or cellphone), etc. These devices may beused alone or in combination to achieve the input and output of data.For example, if a television and a remote controller are used instead ofthe touch screen 1513, the data interface may be displayed on thetelevision and the remote controller may be used to input and output thedata.

Moreover, the first panel 1510 may further include other modules orparts, including but not limited to connection port, sensing module,control module, and communication module (see FIG. 17), etc. Theconnection port may be used for data exchange with other devices, whichincludes but are not limited to the second panel 1530, USB, powersupply, sound box, earphones, etc. The number and position of the portsare not limited, and may be determined according to specific needs. Forexample, the port connecting the first panel 1510 and the second panel1530 may be located at any place between them, while the port connectingthe first panel and the smart switch external devices may be placedaround the first panel 1510. The port may be wired or wireless. Thetypes of wired port include but are not limited to UART (UniversalAsynchronous Receiver/Transmitter), I2C (Inter-Integrated Circuit), SPI(Serial Peripheral interface), etc. The type of the port may becustomized, and may include, and without limitation to, customizing thenumbers and functions of the port pin. Functions of the port pin mayinclude, and without limitation to, power supply, hardware connectionhandshaking or communication, etc. The types of wireless port mayinclude but are not limited to Bluetooth or Wi-Fi. When connecting theport wirelessly, the first panel 1510 may be connected with otherdevices spatially in a detachable way, such as, but not limited to,through magnetic connection. For example, if a set of Bluetooth speakersneed to be connected to a smart switch, the Bluetooth speakers having asmall dimension may approach the smart switch by magnetic force totransmit data via Bluetooth. It should be noted that the disclosure ofports is not limited to the situations mentioned above. A person ofordinary skill in the art may modify a port according to its specificfeatures. For example, placing the port for connecting external deviceson the second panel 1530 may achieve the same or similar functions.

The side of the second panel 1530 that is closer to the first panel 1510(when installed or used according to design) may include one or morephysical controllers 1531. A physical controller 1531 may be a physicalswitch that has the on and off mode. A physical controller 1531 may alsocontrol the on and off of devices, such as light, air-conditioner, heat,and similar devices, etc. A physical controller 1531 may control currentload of a device between on status and off status, e.g., a physicalcontroller 1531 may be a physical dimmer, which may be used by the userto modify luminance of a light manually. A physical controller 1531 mayalso be a physical temperature controller, which may be used by the userto modify temperature of air-conditioner and/or heat manually. Thenumber of physical controllers 1531 is based on the specific need of auser, such as one, two, three or more. Physical controllers 1531 may bein compliance with the UL 514A, UL 514B, UL 514C, UL 514D seriesstandards (see FIG. 4-B) of the Underwriter Laboratories Inc. (UL) andother standards based on the user's practical application situation. Ifthe second panel 1530 has more than one physical controllers, in somesituations, at least two of these physical controllers may achievesimilar functions. For example, at least two of these physicalcontrollers may be connected to a lighting power circuit as physicaldimmers to control the same light or different lights. At least two ofthese physical controllers may be connected to the air-conditionersystem as physical temperature controller to control the temperature ofthe same room/region or of different rooms/regions. In some situations,at least two of these physical controllers 1531 may control differentdevices. For example, of these two physical controllers 1531, one may bea physical dimmer while the other one may be a physical temperaturecontroller. The second panel 1530 may further include a port 1532 thatis connected to the port of the first panel 1510.

An exemplary structure of the side of the second panel 1530, which isfar away from the first panel 1510 (when installed or used according todesign) is shown in FIG. 16. The structure may include the second panel1530, fixation device 1620, power dimmer module 1640, and power line1650. The second panel 1530 may connect to the panel fixation device1620. The power line 1650 may extend from the bottom of the power dimmermodule 1640 or from other parts of the power dimmer module 1640. Theexternal junction box matches the number of the physical controllers1531, and may be in compliance with the UL 514A, UL 514B, UL 514C, UL514D series standards (see FIG. 4-B) of the Underwriter LaboratoriesInc. (UL) and other standards based on the user's practical applicationsituation. The second panel 1530 of the environment control system maybe connected to an existing power circuit to control the existing powercircuit without setting up new power circuit for the environment controlsystem. For example, the second panel 1530 may be connected to anexisting lighting control circuit to achieve the control of the lightingcontrol system. The second panel 1530 may also be connected to anexisting temperature (air-conditioner or heat) control circuit toachieve the control of the temperature (air-conditioner or heat) controlsystem. The environment control system may also control other devices(such as home appliances, automobile, etc.).

It should be noted that the smart switch structures described in FIG. 15and FIG. 16 are not limited to the modules or parts shown in thosefigures. To achieve the same or a similar function, a person of ordinaryskill in the art may simplify or extend these modules or parts, or addother affiliated modules. For example, the touch screen 1513 on thefirst panel 1510 may be used as the input/output interface, or may bereplaced by application software installed on the user terminal (such ascellphone, computer, tablet PC, PDA or television, etc.), orcommunication of the environment control system. For another example, anaffiliated module may be installed on the first panel 1510 or the secondpanel 1530. The affiliated module may include, without limitation to, aLED breath light. Functions of the LED breath light may include forexample hinting positions and/or status of buttons of the smart switchor physical controller, thus helping the user find operation keys morequickly, reflecting power status of the smart switch, reminding unreadmessage, etc. The breath light may help the user interact with theenvironment control system in dim light (such as cloudy days or nights).Many similar variations are still within the scope sought by the presentapplication, for example, the first panel 1510 or the second panel 1530may be equipped with at least one background light.

FIG. 17 shows an exemplary embodiment of the structure of the smartswitch in the environment control system. The first panel 1510 is thefront panel and the second panel 1530 is the back panel, while theexternal power source of the back panel is an alternating current power1730 that supplies direct current power for the first panel 1510.

The first panel 1510 is a series of parts or modules of the system,including but not limited to the processing module 110-A, sensing module120-A, control module 130-A, communication module 140-A, etc. Thesemodules may be touch screen 1711, camera 1712, microphone 1713,speaker/buzzer 1714, processor A, network module 1716, network device1717, sensor 1718, etc., and may include other devices. Datatransmission between the front panel 1510 and back panel 1530 may bethrough porting, where the port 1710 of the front panel 1510 and theport 1720 of the back panel 1530 may form a connector. The types of portinterface may include but not limited to UART (Universal AsynchronousReceiver/Transmitter) (including interface standard specifications andbus standard specifications, such as RS232, RS449, RS423, RS422, andRS485, etc.), I2C (Inter-Integrated Circuit), SPI (Serial Peripheralinterface), etc. Meanwhile, the types of port interface may becustomized, and may include but are not limited to customizing thenumber and function of the interface pin, where the function mayinclude, and without limitation to, power supply, hardware connectionhandshaking or communication, etc. The connector or connection methodbetween the first panel 1510 and the second panel 1530 may also bemechanic support to the first panel 1510, when it is mounted on orbuckled on the second panel 1530.

Structure of the back panel 1530 may include, and without limitation to,the processing module 110-B, sensing module 120-B, control module 130-B,communication module 140-B, etc. These modules may be touch screen 1721,sensor 1722, physical switch 1723, dimmer 1724 and power module 1725,and may additionally include other devices. The processing module 110-Aand processing module 110-B as shown in FIG. 17 may be similar ordifferent in their mechanisms, functions and/or structures; the sensingmodule 120-A and sensing module 120-B may be similar or different intheir mechanisms, functions and/or structures; the control module 130-Aand control module 130-B may be similar or different in theirmechanisms, functions and/or structures; the communication module 140-Aand communication module 140-B may be similar or different in theirmechanisms, functions and/or structures.

It should be noted that the internal structure of the smart switch asshown in FIG. 17 is only for illustrative purposes, and the relativepositions, connection styles and functional relations of each module arenot limited to those shown in the diagram. The processing module 110,sensing module 120, control module 130, and communication module 140 maybe connected in a certain order or interconnected mutually in a wired orwireless manner. Processing module 110, sensing module 120, controlmodule 130, and communication module 140 may be each equipped with itsown independent power supply, or one power supply may be shared amongtwo, or more modules. The processing module 110, sensing module 120,control module 130, and communication module 140 may be individuallyconnected to external devices, and a single external device may beconnected to one or more modules in a wired or wireless fashion. Manysimilar variations are still within the scope of the presentapplication.

FIG. 18 shows an exemplary embodiment of a simplified smart switch inthe environment control system. The simplified smart switch 1800 mayinclude a power-dimmer module 1810, a third panel 1820, etc., where thepower-dimmer module 1810 may be connected to an alternating currentpower 1730. The third panel 1820 may include, and without limitation to,switch/dimmer 1821, camera device 1822 and other components, etc. Theswitch/dimmer 1821 may be a physical dimmer for the user to controlluminance manually. The switch/dimmer 1821 may also be a physicaltemperature controller for the user control the air-conditioner or heatmanually. The number of the switch/dimmer 1821 may be one, two, three ormore, and in compliance to the UL 514A, UL 514B, UL 514C, UL 514D seriesof standards (see FIG. 4-B) by the Underwriter Laboratories Inc. (UL)and other standards based on the user's practical application situation.If the simplified smart switch 1800 includes multiple physicalcontrollers, in some cases, at least two of them may have the similarfunction. For example, at least two physical controllers may beconnected to the lighting power circuit and both are physical dimmers.Alternatively, at least two of physical controllers are connected to thecontrol circuit of the air-conditioner system and both are physicaltemperature controllers. In some cases, at least two physicalcontrollers may control different devices. For example, between the twophysical controllers, one is a dimmer and the other is a physicaltemperature controller.

Other components or modules in the simplified smart switch may include,and without limitation to, microphone 1823, speaker/buzzer 1824,processor 1825, network module 1826, network device 1827, sensor 1828and power module 1829, etc. It should be noted that the structuresdescribed above are only one exemplary embodiment provided for a betterunderstanding of the simplified smart switch, and do not include all thepossible types of the simplified smart switch. Scope of disclosure ofthe simplified smart switch in this application still includes anysimplification of the smart switch according to practical needs, and aperson of ordinary skill in the art may make other modificationsaccording to the described mechanisms of the smart switch and simplifiedsmart switch. Such modifications may include, and without limitation, toadding new components (such as adding input device or output device,etc.), omitting some components (such as omitting camera device ormicrophone, etc.), etc., and they are still within the scope sought bythe present application. For example, the third panel 1820 may furthercomprise a structure similar to the port 1532 on the second panel 1530.Via this port, a simplified smart switch 1800 may be connected to thefirst panel 1510. This connection may realize data or informationcommunication between the first panel 1510 and the simplified smartswitch 1800, and can also provide mechanical support for the connectionbetween the first panel 1510 and the simplified smart switch 1800. Theconnection between the first panel 1510 and the smart switch 1800 may bedetachable, which is similar to the detachable connection between thefirst panel 1500 and the second panel 1530.

According to the present disclosure, the smart switch 1410 and/orsimplified smart switch 1420 may be or include a smart controller.Compared with physical switches or physical controllers, the smartswitch, simplified switch, or smart controller may control a devicecontrollable by physical switches or physical controllers. For example,the smart switch, simplified the switch, or smart controller may exertcontrol over the device via a physical switch or physical controller.For another example, the smart switch, simplified the switch, or smartcontroller may control the device via other methods. The smart switch,simplified switch, or smart controller may control other devices, and/orhave functions other than controlling the device (such as smartmonitoring, smart security and other functions as described herein). Forexample, a smart switch 1410 may be equipped with a sensing modulecapable of collecting one or more parameters. For another example, asmart switch 1410 may be equipped with a touch screen that is able toreceive user input and/or display information to the user. A smartswitch 1410 may also have other structures and/or functions as describedin this specification.

FIG. 19 is a diagram of an exemplary embodiment of user interface menu.1930 is a camera device and 1940 is a physical cover that may shield thecamera device 1930 via varying its position to the camera device 1930.1910 is a control menu, and 1920 is a shortcut menu. The control menu1910 may include smart lighting mode 1911, weather update and warningmode 1912, clock mode 1913 and energy consumption monitoring mode 1914.The above examples are just for convenience of illustration, and thecontrol menu 1910 may include other modes, such as infant monitoringmode 1915, etc. The control menu 1910 may include setting 1916. Menuinterface may be displayed on different devices, such as, withoutlimitation to, smart switch 1410, mobile device 1430 or TV 1448-1,1448-2, 1448-3, computer, tablet, PDA, and on-vehicle multimediasystems, etc. Devices that are able to display the menu interface arenot limited to the devices mentioned above, and other devices withdisplay function may also be included, such as screen of refrigerators,washing machines and so on. Layout and display scale of the menuinterface may be different according to specifications of the device,such as size. Number of displayed functional mode and type of modedisplayed in the menu interface may also be different according to usageof the device. Display scale and layout of menu interface may beautomatically adjusted according to the size and other characteristicsof the display device by the environment control system, the displaydevice, or a user. The user may adjust the position of one or more iconsof the functional mode. For example, the user may control the positionof some icons on the display device (e.g., move the icon to a frontposition) according to how often one or more functional modes as shownon FIG. 19 to FIG. 19E are used. Users may also customize the icon of afunction module. For example, a user may use a photo of his/her child orfamily, or choose a picture as an icon of the functional mode. Oneexemplary embodiment of the menu interface display is shown in FIG. 19-Aand FIG. 19-B. The touch screen 1711 of the smart switch 1410 shows agroup of modes includes, and without limitation to, smart lighting mode1911, weather update and warning mode 1912, clock mode 1913, energyconsumption monitoring mode 1914, infant monitoring mode 1915, andsetting 1916, etc. Another embodiment of the menu interface display isshown in FIG. 19-C, FIG. 19-D and FIG. 19-E. The menu interface shown onmobile device 1430 includes smart lighting mode 1951, security mode1952, family calendar mode 1953, smart ventilation mode (ortemperature/humidity control mode) 1954, message board mode (or videoand voice intercommunication mode) 1955, energy consumption monitoringmode 1956, music playing mode 1957, infant monitoring mode 1958, andsettings 1959, etc. The menu interface may further include otherbuttons. Taking the smart switch 1410 as an example, the shortcut menu1920 may include video and/or voice intercommunication button 1921,security mode starting button 1922, light control button 1923, and menubutton 1924. The smart switch 1410 may have one or more sensors,including ambient light and proximity sensor 1950, etc.

FIG. 19 is one exemplary embodiment of the environment control system.The environment control system may include the following functions:smart lighting learning, customized lighting mode, indoor securitysystem or security mode, family interphone, family calendar, energyconsumption monitoring, weather updating and warning, smart ventilation(or temperature/humidity control), clock, infant monitoring, musicplaying, message board(or video and voice intercommunication), localInternet of Things of the family, local semantic net of the family,smart space. It should be noted that the functions mentioned above arejust for the convenience of illustration, while the functions of theenvironment control system may be determined according to specificapplication scenarios that are not limited to the particular embodimentsmentioned above.

When initializing the environment control system, the sensing module 120initiates, and detects and/or monitors variables of the environment inreal time or according to a regular schedule. The sensing module 120 maytrace and detect and/or monitor various kinds of physical quantitiessuch as voice, light, time, weight, location, temperature, humidity,voltage, current, speed and acceleration, inhalable particle, radiation,text, image, touching, pupil, finger print, etc. The sensing module maydetect and/or monitor one or more of these parameters and may also storeand organize them for further analysis and processing. The sensingmodule 120 may take full advantage of all usable devices, including butnot limited to a temperature sensor, luminance sensor, humidity sensor,ambient light sensor, gas sensor, pheromone sensor (which may also be akind of gas sensor), motion sensor, etc. Via tracing and detectingand/or monitoring changes of a physical quantity of the environment, thesensing module 120 may transform the physical quantity into anelectrical signal. The electrical signal may be stored in sensing module120 as data, which may be in the form of, for example, binary system,octal system, decimal system, hexadecimal system, sexagesimal system,etc. The data may possess characteristics such as time, subject, unit,weather, etc. The sensing module 120 may acquire time information viacommunicating with the control module 130 in real time, and the timeinformation may include, and without limitation to, nanosecond,microsecond, millisecond, second, minute, hour, year, month, day,morning, afternoon, noon, dawn, dusk, midnight, etc. The data maypossess one or more subjects, and/or belong to one or more the subjects,and/or be given to one or more the subjects via the control module 130.The subject may include, and without limitation to, lounge, bedroom,dining room, bathroom, balcony, basement, kitchen, refrigerator,microwave oven, TV, the personal computer, and porch, etc. It should benoted that the subjects to which the data belong as mentioned herein arejust for the convenience of illustration, while the subjects to whichthe data belong may be defined and classified flexibly according to theapplication scenarios, application field, and application object, etc.,The subjects to which the data belong may be any one or more extensivesubjects. The data may have but are not limited to the following units:Celsius degree, Fahrenheit degree, lux, Pascal, meter, millimeter,micron meter, ampere, volt, ohm, mu, etc. The control system may have aspecial or common storage format, and the data, time, subject, unit maybe stored in the storage device 520 or cloud server 540 of theenvironment control system in the special or common storage format. Theenvironment control system may have a special or common recognitionmethod, and may achieve mode recognition by applying the special orcommon recognition method to the data. Via recognizing the physicalquantity and characteristics of the data, the environment control systemmay recognize one or more special or common mode by the mode recognitionmethod. Content of the one or more special or common modes may include,without limitation to, the time range of sun rise and position andbehavior of one or more subjects in this time range, the time range ofnoon and position and behavior of one or more subjects in this timerange, the time range of sun set and position and behavior of one ormore subjects in this time range, the time range of breakfast andposition and behavior of one or more subjects in this time range, thetime range of gaming and position and behavior of one or more subjectsin this time range, the time range of bath and position and behavior ofone or more subjects in this time range, the time range of reading andposition and behavior of one or more subjects in this time range, thetime range of sleeping and position and behavior of one or more subjectsin this time range. It should be noted that the listed one or morespecial or common modes are just for the convenience of illustration,while the one or more special or common mode may be obtained accordingto the time and behavior of one or more subjects, and may be updatedanytime. The one or more special or common mode may be stored by certainstorage method in the storage device 520 or the cloud server 540. Thecontrol module 130 of the environment control system has one or morestatistical algorithms, of which the calculation target is the one ormore special or common modes. The control module 130 may apply thestatistical algorithms to the one or more special or common modes, andthus derive one or more special or common patterns. The control module130, according to the one or more special or common patterns, may storeone or more predefined or customized trigger modes in the storage device520 or the cloud server 540, the trigger mode may be updatedcontinuously over time. The control module 130 may compare the triggermode to the one or more special or common mode, and initialize orterminate the function module of the environment control systemaccording to a certain algorithm. It should be noted that the data, therecognized one or more special or common modes and one or morepredefined or customized trigger modes are not necessarily stored instorage device 520, while they may also be stored in cloud server 540and one or more other servers. FIG. 27 and the related descriptionthereof offer more illustration on the mode recognition or theself-learning function of the environment control system.

FIG. 20 is a diagram of the light control user interface. Regionindication 2010 shows the currently controlled regions. The regionindication 2010 may be text, image, number, any symbol or combination ofsymbols that have specific semantics. Light control button 2020 may beused to enter the light control mode. The light control button 2020 maybe text, image, number, any symbol or combination of symbols that havespecific semantics. Region selection button 2030 may be used to select atarget area. The region selection button 2030 may be text, image,number, any symbol or combination of symbols that have specificsemantics. Ripple light luminance control button 2040 may be used tocontrol the luminous intensity of the target region. The ripple lightluminance control button 2040 may be text, image, number, any symbol orcombination of symbols that have specific semantics.

When the environment control system is initiated, the sensing module 120(or temperature sensor, light sensor, current sensor, touching sensor,motion sensor, image sensor, etc. initiates) may detect and/or monitorvariables of the ambient environment, and the sensing module 120 may beresponsible for converting variables of the ambient environment intoelectronic signals. The storage device 520 or the cloud server 540 maystore predefined or customized trigger modes. For example, detectingand/or monitoring object's motion, wake up mode, sleeping mode, leavingmode and night mode. After the analog signal of ambient environmentvariables and/or user commands or other inputs are converted intoelectrical signals, the control module 130 of the environment controlsystem may apply a specific mode recognition method to the electricalsignals to recognize them as one or more modes. The control module 130of the environment control system may compare the one or more recognizedmodes with one or more predefined or customized trigger modes. Thecomparing behavior is based on a specific algorithm, which may includebut is not limited to linear discriminant analysis, quadraticdiscriminant analysis, maximum entropy classifiers, decision trees,decision tables, kernel estimation, K-nearest neighbor, naive Bayesclassifier, neural network, perceptron, support vector machines, geneexpression programming, hierarchical clustering, k-means clustering,correlation clustering, kernel principal component analysis, liftingscheme, Bayesian networks, Markov random field, multiple linearprincipal component analysis, Kalman filter, particle filter, Gaussianprocess regression, linear regression or expansion, independentcomponent analysis, principal component analysis, conditional randomfield, hidden Markov model, maximum entropy Markov model, recurrentneural networks, association rules, inductive logic programming, thesimilarity measure learning, deep neuron networks, problems of deepneuron networks, deep belief networks, convolution neural network, andconvolution deep belief network, etc. The specific algorithm may be anyone of the algorithms described above or any combination thereof. If oneor more mode detected by the control module 130 of the environmentcontrol system matches the predefined or customized trigger mode, forexample, if object motion is detected, then turn on the light forseveral minutes then turn it off; if the wake up mode is detected, thentake several minutes to turn lights from off to on; if the sleep mode isdetected or monitored, then take several minutes to turn lights from onto off; if the leaving mode is detected or monitored, then turncorresponding lights on at a particular moment and off at anothermoment; if the night mode is detected, and if continuous object motionsare detected and/or monitored, then increase light luminance, and if nocontinuous object motion is detected and/or monitored, then decreaselight luminance. It should be noted that the above descriptions of themodes or behaviors (such as the time for lights to be turned from thestate of “off” to the state of “on”) are only provided for a betterunderstanding, and the recognized modes and the corresponding behaviorsmay be defined flexibly according to specific needs.

FIG. 21 is a diagram of the security mode user interface. Cancel button2110 may be used for disabling or quitting the security alarm functionof the security mode. The cancel button 2110 may be text, image, number,any symbol or combination of symbols that have specific semantics.Security alarm text notification 2120 may be used to alarm a user abouta detected security event. The security alarm text notification 2120 maybe text, image, number, any symbol or combination of symbols that havespecific semantics. Security alarm icon 2130 may be used for reminding auser the starting of the security alarm function. The security alarmicon 2130 may be text, image, number, any symbol or combination ofsymbols that have specific semantics. When the environment controlsystem is initiated, the sensing module 120 (or a temperature sensor,light sensor, current sensor, touching sensor, motion sensor, imagesensor initiates) may detect and/or monitor variables of the ambientenvironment, and the sensing module 120 may be responsible forconverting variables of the ambient environment into electronic signals.The storage device 520 or cloud server 540 may store predefined orcustomized trigger events. After analog signals of ambient environmentvariables and/or the user's commands or other inputs are converted intoelectrical signals, the control module 130 of the environment controlsystem may apply a specific mode recognition method to the electricalsignals to recognize them as one or more modes. The mentioned controlmodule 130 of the environment control system may compare the recognizedone or more modes to one or more predefined or customized trigger modes.The comparing behavior is based on a specific algorithm, which mayinclude but is not limited to linear discriminant analysis, quadraticdiscriminant analysis, maximum entropy classifiers, decision trees,decision tables, kernel estimation, K-nearest neighbor, naive Bayesclassifier, neural network, perceptron, support vector machines, geneexpression programming, hierarchical clustering, k-means clustering,correlation clustering, kernel principal component analysis, liftingscheme, Bayesian networks, Markov random field, multiple linearprincipal component analysis, Kalman filter, particle filter, Gaussianprocess regression, linear regression or expansion, independentcomponent analysis, principal component analysis, conditional randomfield, hidden Markov model, maximum entropy Markov model, recurrentneural networks, association rules, inductive logic programming, thesimilarity measure learning, deep neuron networks, problems of deepneuron networks, deep belief networks, convolution neural network, andconvolution deep belief network, etc. The specific algorithm may be anyone of the algorithms described above or any combination thereof. If oneor more mode detected by the control module 130 of the environmentcontrol system matches the predefined or customized trigger mode (forexample a trigger mode is triggered when object motion is detected in abedroom at 1:56 p.m.), then the alarm of the security mode will beinitialized.

FIG. 22 is a diagram of the family calendar user interface. Cancelbutton 2210 may be used for canceling a notification event. The cancelbutton 2210 may be text, image, number, any symbol or combination ofsymbols that have specific semantics. Family calendar text notification2220 may be used for reminding a user a predetermined event. The familycalendar text notification 2220 may be text, image, number, any symbolor combination of symbols that have specific semantics. Family calendaricon 2230 may be used for reminding a user that the current mode is thefamily calendar mode. The family calendar icon 2230 may be text, image,number, any symbol or combination of symbols that have specificsemantics. When the environment control system is initiated, the sensingmodule 120 (or a temperature sensor, light sensor, current sensor,touching sensor, motion sensor, image sensor initiates) may detectand/or monitor variables of the ambient environment, and the sensingmodule 120 may be responsible for converting variables of the ambientenvironment into electronic signals. Storage device 520 or cloud server540 stores predefined or customized trigger events (such as events to bereminded in a calendar). After analog signals of ambient environmentvariables and/or the user's commands or other inputs are converted intoelectrical signals, the control module 130 of the environment controlsystem may apply a specific mode recognition method to the electricalsignal to recognize them as one or more modes. The mentioned controlmodule 130 of the environment control system may compare the recognizedone or more modes to one or more predefined or customized trigger modes.The comparing behavior is based on a specific algorithm, which mayinclude but is not limited to linear discriminant analysis, quadraticdiscriminant analysis, maximum entropy classifiers, decision trees,decision tables, kernel estimation, K-nearest neighbor, naive Bayesclassifier, neural network, perceptron, support vector machines, geneexpression programming, hierarchical clustering, k-means clustering,correlation clustering, kernel principal component analysis, liftingscheme, Bayesian networks, Markov random field, multiple linearprincipal component analysis, Kalman filter, particle filter, Gaussianprocess regression, linear regression or expansion, independentcomponent analysis, principal component analysis, conditional randomfield, hidden Markov model, maximum entropy Markov model, recurrentneural networks, association rules, inductive logic programming, thesimilarity measure learning, deep neuron networks, problems of deepneuron networks, deep belief networks, convolution neural network, andconvolution deep belief network, etc. The specific algorithm may be anyone of the algorithms described above or any combination thereof. If oneor more mode detected by the control module 130 of the environmentcontrol system matches the predefined or customized trigger mode (forexample, a notification event is to pick up kids at 7 p.m., or notifyingweather change or alarming an illegal invasion via indoor broadcast),then the event notifications of the family calendar will start.

FIG. 23 is a diagram of the energy consumption monitoring userinterface. Current date notification 2310 may remind a user the datethat is currently chosen by the user. The current date notification 2310may be text, image, number, any symbol or any combination of symbolsthat have specific semantics. 2320 may be used to show energyconsumption of the day before the current day. The energy consumptiondata 2320 may be text, image, number, any symbol having a specificsemantics or any combination thereof. 2330 may show the energyconsumption of the current day. The energy consumption 2330 may be text,image, number, any symbol or combination of symbols that have specificsemantics. 2340 may show energy consumption of the day after the currentday. The energy consumption data of the day after the current day 2340may be text, image, number, any symbol or combination of symbols thathave specific semantics. When the environment control system isinitiated, the sensing module 120 (or a temperature sensor, lightsensor, current sensor, touching sensor, motion sensor, image sensorimitates) may detect and/or monitor variables of the ambientenvironment, and the sensing module 120 may be responsible forconverting variables of the ambient environment into electronic signals.After analog signals of ambient environment variables and/or usercommands or other inputs are converted into electrical signals, thecontrol module 130 of the environment control system may apply aspecific mode recognition method to the electrical signals to recognizethem as one or more modes. The control module 130 of the environmentcontrol system may store the recognized one or more modes in a storagedevice (such as storage device 520, cloud server 540, etc.). The displaydevice of the environment control system receives the mode data storedin the storage device in the control module 130, and displays the storedmode data according to a certain display algorithm (for example, on Feb.11, 2015, the energy consumption was 2.1 kWh, and the averageconsumption rate was 805 Watts).

FIG. 24 is a diagram of the weather warning user interface. 2410 mayshow the current weather condition. The current weather icon 2410 may betext, image, number, any symbol or combination of symbols that havespecific semantics. 2420 may show the current temperature. The icon ofthe current temperature 2420 may be text, image, number, any symbol orcombination of symbols that have specific semantics. 2440 may show thehighest temperature of the current date. The icon of the highesttemperature of current date 2440 may be text, image, number, any symbolor combination of symbols that have specific semantics. 2450 may showthe lowest temperature of the current date. The icon of the lowesttemperature of current date 2450 may be text, image, number, any symbolor combination of symbols that have specific semantics. 2430 may showthe weather condition. The weather condition 2430 may be text, image,number, any symbol or combination of symbols that have specificsemantics. When the environment control system is initiated, the sensingmodule 120 (or a temperature sensor, light sensor, current sensor,touching sensor, motion sensor, image sensor initiates) may detectand/or monitor variables of the ambient environment, and the sensingmodule 120 may be responsible for converting variables of the ambientenvironment into electronic signals. The sensing module 120 maycommunicate with the communication module 140, and the communicationmodule 140 may receive external information input (such as weatherinformation, etc.), and the information may be recognized as one or morespecial or common mode. The control module 130 of the environmentcontrol system may compare one or more recognized modes with thepredefined or customized trigger modes. If one or more mode detected bythe control module 130 of the environment control system matches thepredefined or customized trigger mode (such as real-time display ofweather, temperature, humidity, early-warning of cloudy or rainyweather), then the weather warning mode will be turned on.

FIG. 26 is a diagram of the clock user interface. 2610 is the clock modeselection menu for selecting corresponding clock modes. The selectableclock modes may include, and without limitation to, time display mode,timer mode, alarm clock mode, etc. The clock mode selecting interfacemay be text, image, number, any symbol or combination of symbols thathave specific semantics. 2620 is clock mode indication that indicatesthe current clock mode. The clock mode indication 2620 may be text,image, number, any symbol or combination of symbols that have specificsemantics. 2640 is the pause button under the timer mode for pausing thecurrent selected timer. The pause button 2640 may be text, image,number, any symbol or combination of symbols that have specificsemantics. 2630 may indicate that the current mode is the timer mode.The clock icon 2640 may be text, image, number, any symbol orcombination of symbols that have specific semantics. When theenvironment control system is initiated, the sensing module 120 (or atemperature sensor, light sensor, current sensor, touching sensor,motion sensor, image sensor initiates) may detect and/or monitorvariables of the surrounding environment, and the sensing module 120 maybe responsible for converting variables of the surrounding environmentinto electronic signals. Storage device 520 or cloud server 540 maystore predefined or customized trigger events (for example, events to bereminded in a calendar). After analog signals of surrounding environmentvariables and/or user commands or other inputs are converted intoelectrical signals, the control module 130 of the environment controlsystem may apply a specific mode recognition method to the electricalsignals to recognize them as one or more modes. The mentioned controlmodule 130 of the environment control system may compare the recognizedone or more modes to one or more predefined or customized trigger modes.The comparing behavior is based on a specific algorithm, which mayinclude but is not limited to linear discriminant analysis, quadraticdiscriminant analysis, maximum entropy classifiers, decision trees,decision tables, kernel estimation, K-nearest neighbor, naive Bayesclassifier, neural network, perceptron, support vector machines, geneexpression programming, hierarchical clustering, k-means clustering,correlation clustering, kernel principal component analysis, liftingscheme, Bayesian networks, Markov random field, multiple linearprincipal component analysis, Kalman filter, particle filter, Gaussianprocess regression, linear regression or expansion, independentcomponent analysis, principal component analysis, conditional randomfield, hidden Markov model, maximum entropy Markov model, recurrentneural networks, association rules, inductive logic programming, thesimilarity measure learning, deep neuron networks, problems of deepneuron networks, deep belief networks, convolution neural network, andconvolution deep belief network, etc. The specific algorithm may be anyone of the algorithms described above or any combination thereof. If oneor more modes detected by the control module 130 of the environmentcontrol system matches the predefined or customized trigger mode (suchas count 3 minutes and 30 seconds), then the timer will be initialized.

FIG. 27 is a flow chart of the self-learning function of the environmentcontrol system. After initialization of the self-learning mode, at step2710, the environment control system may collect variables ofsurrounding environment and/or user commands or other inputs, and inputall these data into the system. After completion of step 2710, theenvironment control system may go to step 2750, step 2760 and step 2770directly. After receiving the input, the environment control system mayreturn to the start or go to step 2720. In step 2720, the environmentcontrol system may store and classify the collected data and/or usercommands or other inputs. For example, collected data may be related tothe temperature and luminance of environment, and the user commands orother inputs may be related to temperature control and lighting. Thendata related to environmental temperature and user commands or otherinputs related to temperature control may be classified into a samecategory, and data related to environmental luminance, and user commandsor other inputs related to luminance may be classified into a samecategory. For another example, the environment control system may storeand classify the collected data and/or user commands or other inputs aslocation, time, organism, human, animal, electronic device, cellphone,smart switch, chemicals, light, environment light, ultraviolet, command,user command, other external command, and data type, etc. The aboveclassifications may be in a parallel relation or a hierarchical relation(for example, human and animal may belong to the organism class, anduser command and other external command may belong to the commandclass). After step 2720 is completed, the environment control system mayreturn to step 2710 or go to step 2730. Storage devices presented instep 2720 and step 2750 may be the same or different device(s). Afterstep 2720 is completed, environment control system may enter step 2750directly. And after step 2750 is completed, environment control systemmay enter step 2720 directly. It should be noted that theclassifications mentioned above are provided for illustrative purposes,and the classifications of the environment control system may be definedflexibly according to the application situation. Step 2730 analyzes andprocesses the classified data. After the processing and analyzing arecompleted, the environment control system may return to step 2730 orenter into step 2740. In step 2740, whether input data may be recognizedas one or more modes is determined. If the data fail to be recognized asone or more modes, the environment control system will return to step2710 to continue collecting data. If the input data are recognized asone or more modes, the recognized mode in step 2750 will be stored inthe knowledge database. The mode recognition is to achieve therecognition of the ambient environment via the construction of alanguage that may be understood by the environment control system. Forexample, the language may be: 17:45, Mar. 25, 2015, Wednesday,temperature near the entryway is 27° C., no life activity is detected infield of view, carbon dioxide concentration is 0.04%, droplight of theporch is turned off, no moving object is detected in the entryway, Tomis detected watching TV in the lounge. It should be noted that thedescription above is provided for the convenience of illustration, whilethe language of the system may be flexibly constructed according tospecific grammars and semantics. The mode recognition described in step2740 may be operated based on a specific algorithm, which may includebut is not limited to linear discriminant analysis, quadraticdiscriminant analysis, maximum entropy classifiers, decision trees,decision tables, kernel estimation, K-nearest neighbor, naive Bayesclassifier, neural network, perceptron, support vector machines, geneexpression programming, hierarchical clustering, k-means clustering,correlation clustering, kernel principal component analysis, liftingscheme, Bayesian networks, Markov random field, multiple linearprincipal component analysis, Kalman filter, particle filter, Gaussianprocess regression, linear regression or expansion, independentcomponent analysis, principal component analysis, conditional randomfield, hidden Markov model, maximum entropy Markov model, recurrentneural networks, association rules, inductive logic programming, thesimilarity measure learning, deep neuron networks, problems of deepneuron networks, deep belief networks, convolution neural network, andconvolution deep belief network, etc. The specific algorithm may be anyone of the algorithms described above or any combination thereof. Afterstep 2740 is completed, the environment control system may return tostep 2730, step 2720 and step 2710. Step 2760 may analyze and processthe mode stored in the knowledge database. After the completion of step2760, the environment control system may return to step 2750 or enterinto step 2770. Step 2770 may determine whether the input mode may berecognized as one or more patterns. If the input mode fails to berecognized as one or more patterns, then the environment control systemwill return to step 2760 and continue analyzing and processing the inputmode. If the input mode can be recognized as one or more patterns, thenthe recognized one or more patterns will be stored in the knowledgedatabase in step 2770. It should be noted that the patterns mentionedabove may not be a common law of nature. The recognized mode may berecognized as a pattern when its accumulation based on a specificalgorithm exceeds a certain threshold value. For example, if a userleaves home between 9:30 and 10:00 97% of the time in a month, then theuser leaving home between 9:30 to 10:00 may be recognized as a pattern.It should be noted that the examples above are provided for theconvenience of illustration, while the time range, possibility,accumulated time range, etc., of the user's behavior may be definedflexibly, such as in one week, in one year, in one quarter of a year,60%, 80%, 22:30 to 23:00, etc. The pattern may be updated, for example,if the time when the user leaves home has changed, then a new patternmay be recognized to adapt to the user's behavior. The patternrecognition described in step 2770 may be conducted based on a specificalgorithm, which may include but is not limited to linear discriminantanalysis, quadratic discriminant analysis, maximum entropy classifiers,decision trees, decision tables, kernel estimation, K-nearest neighbor,naive Bayes classifier, neural network, perceptron, support vectormachines, gene expression programming, hierarchical clustering, k-meansclustering, correlation clustering, kernel principal component analysis,lifting scheme, Bayesian networks, Markov random field, multiple linearprincipal component analysis, Kalman filter, particle filter, Gaussianprocess regression, linear regression or expansion, independentcomponent analysis, principal component analysis, conditional randomfield, hidden Markov model, maximum entropy Markov model, recurrentneural networks, association rules, inductive logic programming, thesimilarity measure learning, deep neuron networks, problems of deepneuron networks, deep belief networks, convolution neural network, andconvolution deep belief network, etc. The specific algorithm may be anyone of the algorithms described above or any combination thereof. Afterstep 2770 is completed, the environment control system may return tostep 2760. Step 2780 may detect whether an instruction to terminateself-learning function is received. The instruction may come from a useror the environment control system. For example, the environment controlsystem may be pre-installed with a termination algorithm, and when thecondition set by the algorithm is met (such as having continuouslyperformed the self-learning function for one year), the environmentcontrol system may send the termination instruction to terminate theself-learning function. As another example, the termination algorithm ofthe environment control system may detect some mode related to theambient environment (for example, detecting nobody indoor), then themode mentioned above may trigger the environment control system to sendthe termination instruction. If the instruction to terminate theself-learning function has been received, the environment control systemwill terminate the self-learning function and quit the self-learningmode. If the instruction to terminate the self-learning function has notbeen received, the environment control system will store the recognizedpatterns into the knowledge database. After the completion of step 2780,the process may return to step 2750. The knowledge database may be astorage device, which may be inside or outside of the environmentcontrol system, such as a remote sever, a cloud sever, etc.

FIG. 28 is an exemplary embodiment of the combination of the frontpanel, back panel and smart switch. Lounge 2810 may be pre-installedwith the smart switch back panel or simplified switch 2811. The bedroom2820 may be pre-installed with the smart switch back panel or simplifiedswitch 2821. Kitchen 2830 may be pre-installed with the smart switchback panel or simplified switch 2831. Bathroom 2840 may be pre-installedwith the smart switch back panel or simplified switch 2841. The smartswitch front panel 1510 may be a hand-held mobile device, while the usermay connect the smart switch front panel 1510 to the back panel orsimplified switch 2811 of the lounge 2810, to the back panel orsimplified switch 2821 of the bedroom 2820, to the back panel orsimplified switch 2831 of the kitchen 2830, to the back panel orsimplified switch 2841 of the bathroom 2840, according to his/herparticular need. Front panel 1510 of the smart switch may connect,through port 2850 of a connector, with the back panel or simplifiedswitch 2811 in the lounge 2810, or the back panel or simplified switch2821 in the bedroom 2820, or the back panel or simplified switch 2831 inthe kitchen 2830, or the back panel or simplified switch 2841 in thebathroom 2840. The port may be wired or wireless. The types of wiredport include but are not limited to UART (Universal AsynchronousReceiver/Transmitter), I2C (Inter-Integrated Circuit), SPI (SerialPeripheral Interface), etc. Meanwhile, the type of port may becustomized, including, without limitation to, the number and function ofthe port pin. The functions may include, without limitation to, powersupply, and hardware connection handshaking or communication. The typesof wireless port may include, without limitation to, Bluetooth or Wi-Fi.It should be noted that the description of the port is not limited tothe situations mentioned above, and persons of ordinary skill in the artmay make other modifications according to the feathers of the port. Forexample, technologies such as USB, IEEE 1394, ExpressCard, eSATA, SCSI,IDE, PCI, etc., may be used to achieve the same or similar functions.

FIG. 29 is an illustration of an exemplary embodiment of the mobiledevice control. Connectable devices 2920 include, without limitation to,smart switch 1410, simplified smart switch 1420, light 1441, thermometer1442, vent outlet 1443, smart plug 1444, home appliance 1445, securitydevice 1446, fan 1447, TV 1448, and cloud sever 540. Specifically, thefan 1447 may be a fan, desk fan, ventilator, box fan, air conditionerfan (i.e., cooling fan), etc. The fan 1447 may also be any combinationof fans mentioned above in any kind or number. It should be noted thatthe connectable devices 2920 are not limited to the devices mentionedabove, while the user may add other devices flexibly as needed, such aswashing machines, televisions, air conditioners, humidifiers, waterheaters, and gas stoves, etc. The mobile device 1430 may communicatewith a connectable device 2920 via one of the following two ways: as in2910-A, the mobile device 1430 communicates with the connectable device2910 via network device 1340 (1370); and as in 2910-B, the mobile device1430 communicates with the connectable device 2920 via built-in SIMcards of carrier operator networks (2G, 3G, 4G, 5G, etc.). The networkdevice 1370 may be a built-in device of the smart switch 1410 and thesimplified smart switch 1420, and the network device 1340 may be anexternal device of the smart switch 1410 and the simplified smart switch1420. Network devices include but are not limited to a router, Bluetoothnetwork device, the carrier operator network device, payment device,pairing device, ZigBee network device. As in 2910-A, the mobile device1430 may conduct bi-directional communications with the smart switch1410 and the simplified smart switch 1420 using network device 1340(1370). The smart switch 1410 and the simplified smart switch 1420 mayreceive instructions from the mobile device 1430, and according to thereceived instructions, the smart switch 1410 and the simplified smartswitch 1420 may send corresponding instructions to the light 1441, thethermometer 1442, the vent outlet 1443, the smart plug 1444, the homeappliance 1445, the security device 1446, the fan 1447, the TV 1448, andthe cloud sever 540, etc. As in 2910-B, the mobile device 1430 mayconduct bi-directional communications with the smart switch 1410 and thesimplified smart switch 1420 via built-in SIM cards of carrier operatornetworks (2G, 3G, 4G, 5G, etc.). The smart switch 1410 and thesimplified smart switch 1420 may receive commands from the mobile device1430, and the smart switch 1410 and the simplified smart switch 1420may, according to the received commands, send relative commands to thelight 1441, the thermometer 1442, the vent outlet 1443, the smart plug1444, the home appliance 1445, the security device 1446, the fan 1447,the TV 1448, and the cloud sever 540, etc. It should be noted that theabove communication control methods are not the only embodiments. Themobile device 1430 may conduct bi-directional communications without thesmart switch 1410 or the simplified smart switch 1420, but directly withthe light 1441, the thermometer 1442, the vent outlet 1443, the smartplug 1444, the home appliance 1445, the security device 1446, the fan1447, the TV 1448, and the cloud sever 540 through either one of the twoways of communication mentioned above. Home appliance 1445 may havebi-directional communications with the mobile device 1430 directlythrough either one of the aforementioned two ways of communication.Alternatively, it may have bi-directional communications with the mobiledevice 1430 through either one of the aforementioned two ways ofcommunication via the smart plug 1444. Specifically, the aforementionedtwo ways of communication are provided only for the convenience ofillustration. A person of ordinary skill in the art, after understandingthe basic principles of communication, may make various modifications orvariations in forms and details as to the implementation ofcommunication between devices, without departing from those principles.For example, the communication may be conducted in a wired way, andthese modifications and variations are still within the scope of thepresent disclosure.

In one exemplary embodiment, when the mobile device 1430 is networkedinto the environment control system (e.g., connecting directly throughBluetooth networking technology or connecting via a router to thecommunication module 140 of the environment control system, etc.),corresponding operations may be performed by the APP installed in themobile device 1430. When running an APP for the first time or restartingan APP, a welcome page may be displayed, which may include but is notlimited to a demonstration and feature introduction, etc. Furthermore,the user may log in the family account by username and passcodeauthentication, or sign up a new account or set a nickname, etc. Whenentering the main page of the APP, the APP may show a menu interface,and the user may control different devices and/or modes of theenvironment control system from the menu interface, such as, withoutlimitation to, smart lighting mode 1951, security mode 1952, familycalendar mode 1953, smart ventilation mode (or temperature/humiditycontrol mode) 1954, message board mode (or video and voiceintercommunication mode) 1955, energy consumption monitoring mode 1956,music playing mode 1957, infant monitoring mode 1958, and settings 1959,etc. The user may drag the icons in the menu interface to change thepositions of these function buttons.

In one embodiment of the smart lighting mode 1951, a region to be underthe lighting control may be selected, and the region may be one or morerooms, or all lights, or one or more lights etc., such as the kitchen,bedroom, lounge, and restroom, etc. Icons indicating different regionsmay be dragged to change their positions on the interface. Detaileddescriptions of the control of the smart lighting mode 1951 may be foundin the descriptions of FIG. 25, FIG. 27, FIG. 30, FIG. 31, FIG. 32, FIG.33, FIG. 34, FIG. 35, FIG. 48, and other descriptions of smart lightingand artificial intelligence, which descriptions will not be repeatedhere. In an exemplary embodiment of the security mode 1952, the user maywatch via an APP real-time or non-real-time images taken by a cameradevice, or activate the security mode using a security key. Once asecurity event happens, such as an illegal invasion, the security modemay generate a notification and/or alarm on the APP, and the user maycheck the notification history. Detailed descriptions of the control ofthe security mode 1952 may be found in the descriptions of FIG. 21, FIG.27, FIG. 38, FIG. 39, FIG. 40, FIG. 41, FIG. 42, FIG. 48, and otherdescriptions of security mode and artificial intelligence, whichdescriptions will not be repeated here.

In one exemplary embodiment of family calendar mode 1953, the user mayset events for the current day or other dates, and the events may bedownloaded and/or synchronized from the cloud server 540 or Internet.User may check events that are going to happen or have happened, such asin one day, week, month or year. Additionally, the user may set thenotification type of an event when the event occurs, such as voiceprompts, alarms, light flashes, and pushing notifications on an APPand/or panel devices, etc. The above descriptions are provided only forillustrative purposes, while there are many other types ofnotifications, such as cellphone vibrations, changes in the height andangle of a bed, etc. Detailed descriptions of the control of the familycalendar mode 1953 may be found in the descriptions of FIG. 22, FIG. 27,FIG. 48, and other descriptions of family calendar mode, whichdescriptions will not be repeated here.

In one embodiment of smart ventilation mode (or temperature/humiditycontrol mode) 1954, the user may check and/or adjust certain parameters,such as temperature, humidity or sensible temperature, etc. of each roomor region. The control of relative parameters may be real-time orpredetermined, such as changing the parameters at the current moment, orpredetermining the parameters for a given time of a given day in thefuture. Detailed descriptions of the control of the smart ventilationmode (or temperature/humidity control mode) 1954 may be found in thedescriptions of FIG. 27, FIG. 43, FIG. 44, FIG. 48 and otherdescriptions of smart ventilation mode and artificial intelligence,which descriptions will not be repeated here.

In one embodiment of message board mode (or video and voiceintercommunication mode) 1955, the user may send and/or receive messagessuch as a text, audio record, image, video clip, and the user may alsolaunch or answer voice communication or video communication. Devices fortransmitting messages and video and/or audio intercommunications may befor example other mobile devices 1430, smart switch 1410, computer,tablet PC, PDA, television 1448-1, television 1448-2 or 1448-3, phone ormobile phone, etc. Detailed descriptions of the control of message boardmode (or video and voice intercommunication mode) 1955 may be found inthe descriptions of FIG. 25, FIG. 27, FIG. 45, FIG. 46, FIG. 48 andother descriptions of smart ventilation mode and artificialintelligence, which descriptions will not be repeated here.

In one embodiment of energy consumption monitoring mode 1956, the usermay check energy consumption of the current day or other days, and theenergy consumption may be displayed in different units or forms, such asusing kilo-watt as the unit, using average watt-consumption of a certainperiod of time as the unit, or related equivalent amount of currency(for example, equivalent amount equals electricity unit price timesconsumption in the season) as the unit. The user may check totalelectricity consumption in a period of time, such as one day, week,month or year. In addition, an APP may generate an energy consumptionreport for the user's reference. Detailed descriptions of the control ofthe energy consumption monitoring mode 1956 may be found in thedescriptions of FIG. 23, FIG. 27, FIG. 48 and other descriptions ofenergy consumption monitoring mode and artificial intelligence, whichdescriptions will not be repeated here.

In one embodiment of the music playing mode 1957, the user may chooseone or more rooms or regions for music playing, while the device ofmusic playing may be any device with a music-playing function, such asthe smart switch 1410, the Bluetooth voice box magnetically connectedunder the smart switch 1410, other wired or wireless voice box connectedto the environment control system, wearable playing devices (such asearphone, audiphones, etc.), smartphone, tablet PC, PDA, computer,television 1448-1, television 1448-2 or 1448-3, and vehicle-mountedvoice box, etc. The APP may show related information such as name of themusic, artist, album, playlist, etc. The user may choose to synchronizewith other devices for transmitting or receiving music files, may selectto play certain music or playlist, may select a playing mode (e.g. orderplaying, loop playing, shuffle playing, etc.). The user may also set (orthe environment control system may self-learn) the time and volume formusic playing. For example, playing music of bird chirp at 8 am withcrescendo volume every day; reducing volume and shutting down the playerfor example 20 minutes after detecting sleep of the user. Detaileddescription of the control of music playing mode 1957 may be found inthe descriptions of FIG. 27, FIG. 48 and other descriptions of musicplaying mode and artificial intelligence, which descriptions will not berepeated here.

In one embodiment of infant monitoring mode 1958, the user may choose toturn on or off the infant monitoring mode. When the infant monitoringmode 1958 is on, the environment control system may detect and/ormonitor the infant and related parameters within a certain range, andsend notifications or alarms to devices such as the mobile device 1430,smart switch 1410, computer, tablet PC, PDA, television 1448-1,television 1448-2 or 1448-3, phone or mobile phone, etc. The contentthat the environment control system detect and/or monitor may include aninfant's crying, breath, heartbeat, body temperature, and emotion,whether someone is in or something is moving in the infant room,identity characteristics such as the face and biological information ofa person who enters the infant room, temperature and humidity of theinfant room, air quality of the infant room, cleanliness of infantdiaper and so on. The content that the environment control system maydetect and/or monitor is not limited to those mentioned above, whileother parameters may be included, such as noise volume of theenvironment where the infant room locates, etc. The user may watchreal-time or non-real-time video and voice information of the infant andits environment, or may interact with the infant via video and voiceintercommunication mode, or may control parameters of the infant roomsuch as the temperature, humidity and luminance, etc. The environmentcontrol system may also control automatically via self-learning functionor artificially intelligence. For example, the environment controlsystem may automatically rise the room temperature when detecting thatinfant has kicked away the quilt, etc. The infant monitoring mode 1958may not only be used for monitoring an infant, but also for monitoringothers such as an old person, a young kid, a pregnant woman, a patient,a pet and so on. Detailed descriptions of the control of the infantmonitoring mode 1958 may be found in the description of FIG. 27, FIG. 48and other descriptions of infant monitoring mode and artificialintelligence, which descriptions will not be repeated here.

In one embodiment of settings 1959, a user may operate settings such assettings of an APP and settings of a smart switch, etc. Particularly,the settings of APP may include but are not limited to security setting,family calendar notification setting, energy consumption setting,temperature unit setting, nickname editing, answering help, relatedinformation, and e-mail help, etc.; the settings of the smart switch mayinclude but are not limited to smart lighting mode setting, home addresssetting, room type editing, mute mode, picture uploading, answeringhelp, and related information, etc. Detailed descriptions of settings1959 may be found in the descriptions of FIG. 27, FIG. 30, FIG. 48 andother descriptions of setting and artificial intelligence, whichdescriptions will not be discussed here.

When the environment control system needs to send notifications and/oralarms to the APP, the APP will show the notification. Content ofnotification may include, without limitation to, icon, text information,quick operation button and so on. Events that may trigger thenotification may include weather forewarning, security warning, familycalendar reminder, infant monitoring reminder, video and voiceintercommunication (or message board) reminder and so on. Detaileddescriptions of reminding may be found in the descriptions of FIG. 27,FIG. 48 and other descriptions of emergency events handling andartificial intelligence, which descriptions will not be repeated here.Furthermore, in any interface of the APP, the user may use voice commandto input or control or return to the menu, etc. The APP may have variouspresentations for different interfaces, functions and modes. Theabove-described presentations are not limited to APP on a mobile device1430, but may also be in other devices, such as but not limited to smartswitch 1410, mobile device 1430 or TV 1448-3, 1448-1, 1448-2, computer,tablet, PDA, and automotive multimedia systems, etc. Devices that maydisplay the APP interfaces are not limited to those described above,while other devices having a display function may also be used, such asscreens of refrigerators, washing machines and other home appliances.Display scales and layouts of APP interfaces may be different accordingto characteristics of the device, such as the size of the device. Also,the number of icons and displayed modes or functions in the APPinterface may be different according to the particular use of thedevice.

FIG. 29-A and FIG. 29-B show an exemplary embodiment of displaying themessage board mode (or video voice intercommunication mode) 1955 on themobile device 1430 by the APP. The APP interface displayed by 2900-A and2900-B may have icon indication 2901 and text indication 2902, etc. forreminding the user that the system is the message board mode (or videovoice intercommunication mode) 1955. In the exemplary embodiment shownin FIG. 29-A and FIG. 29-B, users may have text informationcommunication (or chatting). 2903 shows information (such as avatar,nickname and name, etc.) of different users, and 2904 shows the contentof the text information. User may input text information via typing bar2905 and add Emoji using the Emoji icons 2906. The bottom of theinterface may have a voice control button 2908 to achieve voice inputand voice control. A user may press the menu return button 2909 toreturn to the main menu, and press other function button 2907 to openthe submenu of other functions. Submenu of other functions may includepicture sending 2911, history record deleting 2914 and notificationsetting 2913 and so on. The user may close the submenu of otherfunctions and return to the typing interface by pressing other functionbutton 2907 again.

The smart lighting mode may have one or more features presentedbelow. 1. It may be set remotely or manually in a short range. 2. It maybe set through wired or wireless communication. 3. It may control thelighting mode within each room or region based on the user's movementsindoor or outdoor, or the user's moving in or out of a room, ordifferent time periods during a day or night, or whether the user wouldbe out for a long time. 4. It may conduct self-learning or self-adaptingaccording to the user's habit and daily routine.

The smart lighting mode, as a component of the environment controlsystem, may select corresponding lighting change modes according to auser's manual setting or automatic setting, from a close range or faraway, in wired or wireless manner. The selection of lighting modes isbased on various types of information and data received (such assecurity alarm, emergency weather, emergency event, temperaturechanging, moving or in-and-out of the user indoor and outdoor, differenttime periods of daytime and night, natural light changing ofenvironment). Meanwhile, the smart lighting mode has a self-learningfunction, thus the lighting change modes may achieve environment controland energy saving simultaneously, through the learning of the user'shabits and preferences as well as requirements for energy saving andenvironmental protection.

A user may operate the smart lighting mode through different interfaces,such as smart user interface or non-smart user interface, or short-rangeinterface and remote interface, etc. In one embodiment, when the smartuser interface detects that the user approaches the smart userinterface, the interface will automatically change into the userinterface for lighting control. In one embodiment of the short-rangeinterface (see FIG. 19), a user may enter the smart lighting mode bypressing the light control button 1923 located on the upper right cornerof the main interface, or by pressing icon 1911 located on the screen ofthe main interface.

In the short-range interface, the light setting method of the smartlighting mode may be entered by pressing the menu button 1924 located atthe bottom right of the main screen. As shown in FIG. 30, the touchscreen may display the settings 3010 to remind the user that the currentpage is the settings main interface. By pressing the lighting button3023 on the settings main interface, the user may enter smart lightingmode settings. Interface showed in FIG. 30 may include general 3021,network 3022, security 3024, time 3025, appearance 3026, wizard 3027 andinformation 3028, etc., and the setting of a function may be entered bypressing the corresponding button. The content that may set by thesettings interface is not limited to the description above, and othersetting content may be included. For example, new home appliances orother devices may be connected to or paired with the environment controlsystem through the setting function. The environment control system mayinclude or provide one port or connection standard. One home applianceor other device may pair with the environment control system if the homeappliance or other device has the corresponding port or connectionstandard. The environment control system may have one or more functionsbelow, such as collecting or acquiring parameters or information of thatdevice, user commanding, communicating with that device, and controllingthat device, etc.

The luminance control of the smart lighting mode may be implemented indifferent ways. As shown in FIG. 31, a user may select the manualoperation of ripple 3110, dial 3120 or slider 3130 on a touch screen toturn on or off a light or control luminance of the light. The interface3100 has the skip 3140 and the more 3150 buttons. Using the dial 3120manual operation as an example, in FIG. 32, after pressing the lightcontrol button 2020 at the upper right, the user may control the indoorlight luminance via sliding the position of the slider, which indicatesthe luminance of indoor light. After pressing the region selectionbutton 2030, the user may control light luminance in the different roomsshown in FIG. 33 via sliding the position of sliding button 3240 onlight luminance control button 3230. Particularly, the left side of theinterface indicates the darkest icon 3220 and the right side indicatesthe brightest icon 3250. As shown in FIG. 33, this interface may controlthe devices including but not limited to light device 3311, 3321, 3331in kitchen 3310, bedroom 3320 and lounge 3330, etc.

The control of smart light mode may also be implemented in a wirelessway by a user's operating through a remote interface of a mobile APP. Inthis application, “app” and “APP” may be used interchangeably torepresent a software application. FIG. 34 is an exemplary embodiment ofthe mobile remote control interface: the mobile device 3420 connects tothe smart switch 3410 via wireless network 3430. After a user logs inthe APP interface via a family account, the touch screen may show thecontrol panel, in the middle of which is the light icon 3427 forreminding the user that the current page is the main interface of thesmart lighting mode in the remote interface. At the bottom of theinterface, the smart lighting mode 3424, voice communication mode 3425and menu 3426 may be selected. Different lighting regions may beselected in the smart lighting interface, which include, and withoutlimitation to, select all 3423, lounge 3422, kitchen 3421, etc. The topof the interface may show region indicator 3428 and ripple lightluminance control button 3429. When the smart lighting mode 3424 ischosen, the user may switch between several different smart lightingmodes. These modes may selectively set corresponding lighting changemodes, according to different input data of the environment controlsystem. The input data of the environment control system include,without limitation to, security alarm caused by unknown invasion; orsudden weather change, such as rainstorm, thunder, fog and haze,typhoon, tornado, etc.; or emergency caused by geologic hazard such asearthquake, tsunami, volcanic eruption; and different time periods suchas morning, noon or night; indoor and/or outdoor temperature changingdetected by the temperature sensor; motion of human, animal or othermoving object detected by the motion sensor, etc. As shown in FIG. 35,different smart lighting modes include, and without limitation to, wakeup timer 3531, sleep timer 3532, vacation mode 3533, motion mode 3534,night mode 3535, and learning lights 3536, etc. At the bottom of theinterface 3500 are return 3541, voice communication mode 3425, menu3426, etc. Meanwhile on the top of the interface is a smart lightingnotification 3510 and on the left side is a button off-on notification3520, etc. The aforementioned description on the modes does not exhaustall possibilities of similar smart lighting modes. Apparently, for aperson of ordinary skills in the art, after understanding the contentand principle of the current disclosure, the form and details in thesystem may be modified or changed without deviating from certainprinciples and structures. The modifications and variations may includeany combination of the modes, and these modifications and variations arestill within the scope of the claims of the present application.

The following describes exemplary embodiments of the function andprocess of the motion mode 3534 in the smart lighting mode.

The smart lighting mode may distinguish whether the user has come backhome according to information collected by sensing module 120, and ifyes, then turn on the “welcome back” motion mode in smart lighting mode.Particularly, the sensing module 120 may include at least one sensor,and the sensor, other modules and external devices may have severalcorresponding relations as shown in FIG. 7. The sensing module 120 isalso connected to the control module 130 and the external device 160.The sensor may be an external device or a component of the externaldevice. FIG. 7 is just one embodiment of the internal structure andsurrounding structure of the sensing module 120, while the sensingmodule 120 may have different structures and may connect to otherexternal device in. The connection methods suggested here may be wiredor wireless.

Meanwhile, the sensing module 120 may send the detected information toprocessing module 110 for analysis and judgment. Such informationincludes, without limitation to, voice, light, weight, position,temperature, humidity, pressure, current, speed and acceleration, image,text touch, pupil, fingerprint, etc., or any combination thereof. Theabove types of sensible data are just used for illustrative purposes,while the sensing module 120 may sense other types of data, such as useremotion and magnetic field, etc. The analysis and judgment methods ofthe processing module 110 may include but are not limited to comparingcollected information to certain parameter (such as a reference value,reference range, threshold value, preset value or predicted value). Theparameters may be set by the user or obtained by the environment controlsystem via machine training. After analyzed by the processing module110, if the collected information meet some parameter requirement (suchas matching some reference value, entering some reference range,exceeding some threshold value/preset value/predicted value and so on),then the information may be considered as user information.

When the process module 110 makes the judgment that the user has comeback home, it may call the control module 130 to implement the motionmode in the smart lighting mode, which may be but is not limited toturning on family lighting and smart lighting mode using a light-onalgorithm matching the user's habits. Based on pre-set implementations,this light-on algorithm may, for example, automatically or manually turnon lights in the porch or lounge immediately, initiate smart lightingmode in the master bedroom, guest bedroom and the garage, andautomatically or manually control light luminance of a room according todetected temperature change in the room, etc. Setting of light luminancemay be based on the user's preference. Once triggered, the light may bemaintained for a period of time, such as at least 30 minutes, untilturned off by the light-on algorithm. The longest time for maintainingthe light may be, without limitation to, two hours.

The implementation methods of the light-on algorithm may includesoftware implementation mode and hardware implementation mode. Softwareimplementation mode may include C, C++, Python, Java, JavaScript,Fortran, Visual C++, and assembly language. Hardware implementation modemay include single chip, integrated circuit, and chip, etc. Computerdevices that may be used include, and without limitation to, personalcomputer, server and microelectronic devices, such as personal desktop,personal laptop computer, PDA, tablet computer and other embodimentsdisclosed in the present specification. The embodiments mentioned aboveare just for the convenience of illustration, while the controllablesoftware and hardware may include other aspects, such as, smartanti-theft mode and vehicle electronic mode, etc.

The following describes exemplary embodiments of the function andprocess of the night mode 3535 in the smart lighting mode:

The smart lighting mode may determine whether the current time is withina certain preset time range, such as late night, and whether a user isstill wake and active in a room based on activity information collectedby the sensing module 120. Based on these judgments, the smart lightmode may initiate the soft-light night mode in the smart lighting mode.Particularly, the sensing module 120 may include at least one sensor,and the senor, other modules and external devices may have severalcorresponding relations as shown in FIG. 7. The sensing module 120 isalso connected to the control module 130 and the external device 160.The sensor may be an external device or a component of the externaldevice. FIG. 7 is only one embodiment of the internal and surroundingstructures of sensing module 120, and sensing module 120 may also havedifferent structures and connect with different peripheral devices. Theconnection methods suggested here may be wired or wireless.

Meanwhile, the sensing module 120 may send the detected information tothe processing module 110 for analysis and judgment. Such informationmay include but is not limited to voice, light, weight, position,temperature, humidity, pressure, current, speed and acceleration, image,touch, pupil, fingerprint, etc., and any combination thereof. The abovementioned types of sensible data are just provided for illustrativepurposes, while the sensing module 120 may sense other types of data,such as time, user emotion and magnetic field, etc. The analysis andjudgment methods of the processing module 110 may include but are notlimited to comparing collected information to certain parameters (suchas a reference value, reference range, threshold value, preset value orpredicted value). The parameters may be set by the user or obtained bythe environment control system via machine training. After analyzed bythe processing module 110, if the collected information meets someparameter requirement (such as match some reference value, enter somereference range, exceed some threshold value/preset value/predictedvalue and so on), the processing module may determine that the user isup and active at night.

After the processing module 110 makes the judgment that the user is upand active, the control module 130 may be called to implement the nightmode of the smart lighting mode, which may be but is not limited toinitiating a light-on algorithm for soft light. Based on pre-setimplementation procedures, or based on the user's activity type, rangeand habits this light-on algorithm may automatically control lightluminance in the user's room or nearby rooms, or automatically ormanually control light luminance of a room according to detectedtemperature change in that room, etc. In one embodiment, the light-onalgorithm may set a time range of the user's night activity (includingbut not limited to, for example from 11 p.m. to 5 a.m.), and rise thelight luminance to the user's anticipated level in a short time (such as10 seconds). If the user stops the activity, the light sensor willgradually reduce its input, and extinguish the light after, for example,15 seconds.

The implementation methods of the light-on algorithm may include,without limitation to, software implementation mode and hardwareimplementation mode. Software implementation mode may include, withoutlimitation, C, C++, Python, Java, JavaScript, Fortran, Visual C++, andassembly language. Hardware implementation mode may include, withoutlimitation to, single chip, integrated circuit, and chip, etc. Computerdevices that may be used include, without limitation to, personalcomputer, server and microelectronic devices, such as personal desktop,personal laptop computer, PDA, tablet computer and other embodimentsdisclosed in the present specification. The embodiments mentioned aboveare just for the convenience of illustration, while the controllablesoftware and hardware may include other aspects, such as smartanti-theft mode and vehicle electronic mode, etc.

The following is a description of exemplary embodiments of the functionand process of the self-learning mode 3536.

The smart lighting mode may adjust the manner of its initiation and use,according to data of the user's daily activity and habits collected bythe cloud server 540, which is connected to the communication mode 140.Particularly, first, the storage unit of the processing module 110 mayrecord the user's habits in operating and adjusting the smart lightingmode under different conditions. The different conditions may include,and without limitation to, security alarm caused by unknown invasion; orsudden weather change, such as rainstorm, thunder, fog and haze,typhoon, tornado, etc.; or emergency caused by geologic hazard such asearthquake, tsunami, volcanic eruption; and different time periods suchas morning, noon or night; indoor and/or outdoor temperature changesdetected by the temperature sensor; motion of human, animal or othermoving object detected by the motion sensor, etc. These data of theuser's daily habit and preference may be uploaded via the communicationmodule 140 to a server, such as the cloud server 540, local area networkserver, wide area network server, etc. The cloud server 540 may be builtinto the environment control system, or may be a third party serverexternal to the environment control system. The communication mentionedherein generally refers to two-way signal acquisition, and the signalmay include, without limitation to, code, numeral, text, image, audio orvideo, etc.

According to the server data of a user's daily habit and preference, theprocessing module 110 may call the control module 130 to implementself-learning mode in the smart lighting mode, which may include but isnot limited to a light learning algorithm based on the user's habit. Inone embodiment, the light learning algorithm may automatically save andupload the user's habit data, analyze the user's habitual behaviors ofadjusting lighting, and simulate the user's behavior. Particularly, thisalgorithm may compare the user's habit data to certain parameters (suchas a reference value, reference range, threshold value, preset value orpredicted value). The parameters may be set by the user, or may beobtained by the smart lighting mode via machine training. Afterprocessed by the processing module 110, if these data meet someparameter requirements (such as conforming to some reference value,entering some reference range, exceeding some threshold value/presetvalue/predicted value, etc.), then these data may be modified accordingto certain predetermined optimization algorithms, including but notlimited to least squares method, variational method, steepest descentmethod or other dynamic optimization algorithms, adjust light luminanceaccordingly, and record user's feedback.

The implement methods of light learning algorithm may include, withoutlimitation to, software implementation mode and hardware implementationmode. Software implementation mode may include, without limitation to,C, C++, Python, Java, JavaScript, Fortran, Visual C++, and assemblylanguage. Hardware implementation mode may include, without limitationto, single chip, integrated circuit, and chip, etc. Computer devicesthat may be used include, without limitation to, personal computer,server and microelectronic devices, such as personal desktop, personallaptop computer, PDA, tablet computer and other embodiment disclosed inthe present specification. The examples mentioned above are just for theconvenience of illustration, while the controllable software andhardware may include other aspects, such as smart anti-theft mode andvehicle electronic mode, etc.

The following is a description of the exemplary embodiments of functionand process of the wake up timer 3531 and sleep timer 3532:

Smart lighting mode may distinguish different time periods and user'sstatus according to the information collected by the sensing module 120,thereby entering the wake up mode 3531 or sleep mode 3532 accordingly.Particularly, the sensing module 120 may include at least one sensor(e.g. a timer). The senor, other modules and external devices may havethe various corresponding relationship as shown in FIG. 7. The sensingmodule 120 is also connected to the control module 130 and the externaldevice 160. The sensor may be an external device or a component of theexternal device. FIG. 7 shows only one exemplary embodiment of theinternal structure of sensing module 120 and some peripheral devices.Sensing module 120 may also have different structures and be connectedwith different peripheral devices. The connection methods suggested heremay be wired or wireless.

The sensing module 120 may determine corresponding time periods via thetimer, including, without limitation to, midnight, early morning,morning, dusk, night, late night, etc. Meanwhile, the sensing module 120may send the detected information to processing module 110 for analysisand judgment. The forms of information may include, without limitationto, any one or combination of voice, light, weight, position,temperature, humidity, pressure, current, speed and acceleration, image,touch, pupil, fingerprint etc. The content of information also includes,without limitation to, the detected change of sunlight intensity in themorning, change of seasons or weather conditions, the wake-up time(e.g., seven o'clock) set by the user through the user interface ofmobile device, computer or the environment control system. The exemplarytypes of sensible data mentioned above are just intended forillustration, and the sensing module 120 may also sense other types ofdata, such as user's emotion and magnetic field, and user's status ofdeep sleep, etc. The analysis and judgment method of the processingmodule 110 includes, without limitation to, comparing collectedinformation to certain parameters (such as a reference value, referencerange, threshold value, preset value or predicted value). The parametersmay be set by the user or obtained by the environment control system viamachine training. After processed by the processing module 110, if thesedata meet some parameter requirements (such as conforming to somereference value, entering some reference range, exceeding some thresholdvalue/preset value/predicted value, etc.), then the control module maythen judge that the user is in corresponding state of activity,including but not limited to sleep such as shallow sleep and deep sleep;low-strength activity such as but not limited to reading, walking andwatching TV; high-strength activity, such as physical training,exercising, partying, etc.

After the processing module 110 makes a judgment about the user's statusof activity, it may call the control module 130 to execute the wake upmode 3531 or sleep mode 3532, so as to modify the family smart lightingmode through for example algorithms adapted to the user's habit. Thewake up mode algorithm may wake a user naturally and gradually byincreasing the room luminance progressively. As one embodiment of thewake up mode algorithm, the wake up mode algorithm may raise theluminance from 0% to 100% in a short time according to current seasonand/or weather. Particularly, 0% represents the minimum luminance of thelight and 100% represents the maximum luminance of the light (the givennumerical range is only for illustrative purpose). The user may alsomanually control the luminous intensity of the light. After a period oftime, the luminous intensity may recover gradually (e.g., in fiveseconds) to the normal indoor luminous intensity. Events that triggergradual increase of luminous intensity and/or the normal indoor luminousintensity may be set by the user. The sleep mode algorithm may graduallyreduce indoor light luminance, thereby decreasing the user's activitylevel to be ready for sleeping. As one exemplary embodiment of sleepmode algorithm, the luminous intensity of light may gradually drop to 0%and then completely shut down after some buffering time.

The implementation methods of the light wake up mode 3531 and sleep mode3532 may include but are not limited to software implementation mode andhardware implementation mode. Software implementation mode may includebut is not limited to C, C++, Python, Java, JavaScript, Fortran, VisualC++, and assembly language. Hardware implementation mode may include butis not limited to single chip, integrated circuit, and chip, etc.Computer devices that may be used include but are not limited to apersonal computer, server and microelectronic devices, such as personaldesktop, personal laptop computer, PDA, tablet computer and otherembodiment disclosed in the present specification. The examplesmentioned above are just for the convenience of illustration, while thecontrollable software and hardware may include other aspects, such assmart anti-theft mode and vehicle electronic mode, etc. The abovedescriptions only cover the main process of the above specificembodiment, and should not be deemed as the only embodiment. Eachmentioned step is not essential, and the whole process along withspecific steps may not be limited to the drawing or the descriptionsabove. Obviously, for a person of ordinary skill in the art, afterunderstanding the content and principle of the current disclosure, theform and details in the process may be modified or changed withoutdeparting from principles and structures of the present disclosure. Themodifications and changes are still within the scope of claims in thecurrent disclosure.

FIG. 36 is an exemplary embodiment of the smart switch tag. Power 3610is responsible for charging the processing module 110. The power 3610includes, without limitation to, an external power, an internal storagebattery or a built-in power-generating device. The processing module 110may be used as a processing unit, and the processing module 110 mayestablish bi-directional communications with the communication module140, the processing module 110 may establish bi-directionalcommunications with the input device 3650, and the processing module 110may establish bi-directional communications with the NFC tag 3640. Theprocessing module 110 may be an integrated circuit of any type,including but not limited to a small scale integrated circuits, a mediumscale integrated circuits, a large scale integrated circuits, a verylarge scale integrated circuits, an ultra large scale integratedcircuits or a Gigascale integrated circuits. The communication module140 is mainly responsible for the communication within the environmentcontrol system, between the environment control system and externaldevices, and between the environment control system and/or externaldevices and other systems or devices. The communication includes,without limitation to, wired communication and wireless communication.The wireless communication includes, without limitation to, radiocommunication, free-space optical communication, sonic communication,electromagnetic induction, etc. The NFC tag 3640 is an integratedcircuit that is designed based on some specific standards. It may haveits own storage unit and may have the reading-and-writing function. TheNFC tag 3640 may be responsible for conducting near field communicationswith other devices, and smart switch tag 3600 may pair with otherdevices via near field communications. The input device 3650 may receiveexternal input data. The input data may be characterized by theprocessing module 110 into three modes: on, off, and load control. Thethree modes control connections, disconnections and powers of the load,respectively. The three modes may be controlled by the switch 3651 andthe dimmer 3652. After a corresponding mode has been recognized, theprocessing module 110 transmits an instruction to other paired devicesvia the communication module 140 according to the recognized mode, andthe other paired devices may receive and execute the instructiontransmitted by the processing module 110. FIG. 37 is an appearancedesign of a smart switch tag. The appearance of a smart switch 3600 maybe as shown in FIG. 3700-A or FIG. 3700-B. In FIG. 3700-A, 3710-A is aframe of the smart switch tag 3700-A; 3720-A is a circular knob used forlighting adjustment, which may be turned to adjust luminous intensity.3710-B is a frame of the smart switch tag 3700-B; 3720-B is a bar-shapedknob of lighting adjustment, which may be turned vertically to adjustthe luminous intensity.

FIG. 38 shows a smart doorbell mode. In some embodiments, the smartdoorbell mode may be part of the smart security mode. The processingmodule 110 may communicate bi-directionally with a battery leveldetector 3820, an image sensor 3851, a communication module 140, amotion sensor 3852, a sound sensor 3853, a gas composition sensor 3854,a fingerprint sensor 3855 and an input device 3870. The processingmodule 110 may receive electrical signals transmitted by sound sensor3853. After being received and processed by the processing module 110,the electrical signals are then transferred to the sound output 3860.The sound output 3860 outputs the received electrical signals. The inputdevice 3870 includes, without limitation to, a keyboard, a button, atouch screen, a scanner, a light pen, a mouse, a handwriting panel, ajoystick, etc. Input device 3870 may be one device or a combination ofany number of devices from the above-mentioned devices. The power 3810is responsible for supplying power to the security mode; the powermodule 3830 transforms the current generated by the power 3810 to acertain form and transfers it to the processing module 110 and the imagesensor 3851. The battery level detector 3820 is responsible fordetecting the status of the power 3810; the battery level detector 3820is responsible to transmit the detected status of the power 3810 to theprocessing module 110, and the processing module 110 may configure thebattery level detector 3820 such that it works in a specific way. Whendetecting a certain power status transmitted from the battery leveldetector 3820, the processing module 110 may send certain instructionsto the low battery indicator 3840. The processing module 110 may receivedata transmitted by the image sensor 3851, and the processing module 110may send certain instructions to the image sensor 3851. The image sensor3851 may recognize a plurality of contents, including but not limitedto, any one or combination of facial characteristics, bodycharacteristics, voice/sound characteristics and motion characteristics.Facial characteristics include, and without limitation to, one or morecharacteristics of body height, volume, body proportion, etc.Voice/sound characteristics include, without limitation to, any one orcombination of pitch, quality, frequency, fluency, or key words, ofusers' voice or walking sound. Motion characteristics include, andwithout limitation to, one or more of body movements (such as movementsof heads, arms or legs), speed, or acceleration, etc. The motion sensor3852 detects whether motion exists in the ambient environment bymonitoring one or more environmental variables. For example, the motionsensor 3852 may irradiate microwaves to the ambient environment, and themotion sensor 3852 may determine whether motion is occurring based onthe reflected microwaves using the Doppler effect. It should beunderstood that the irradiation of microwaves by the motion sensor 3852mentioned above is merely an illustrative example. Apparently, afterunderstanding basic principles of the Doppler effect, a person skilledin the art may make various modifications and variations in forms ordetails (such as using an infrared radiation) in regards to the mannerand steps of the motion sensor 3852 without departing from the basicprinciples. These modifications or variations are considered to bewithin the scope of present disclosure. Sound sensor 3853 may collectsound information, including but not limited to pitch, quality, andfrequency of any sound. The gas composition sensor 3854 may monitorand/or detect gas composition and/or content within a specific space.The gas may be from the environment or from human bodies. Gases from theenvironment include, and without limitation to, carbon monoxide, carbondioxide, oxygen, ozone, ammonia, methane, formaldehyde, benzene and itsanalogues, smoke and fog, and any other organic or inorganic gases.Gases from human bodies include pheromones and other smells originatedfrom the human body. The fingerprint sensor 3855 may recognizefingerprints. Fingerprints may include, and without limitation to, humanfingerprints, fingerprints of certain animals (e.g., gorillas,chimpanzees), palm prints of human and/or some animals, toe prints ofhuman and/or some animals and foot palm prints of human and/or someanimals. The communication module 140 is mainly responsible for thecommunication between the environment control system and externaldevices, as well as communication between the system and/or externaldevices and other systems or devices. The communication module 140communicates with the external environment via communication network3880, and the means of communications include, and without limitationto, wired communications and wireless communications. Wirelesscommunications include, and without limitation to, radio communication,free-space optical columniation, sonic communication, andelectromagnetic induction, etc.

It should be noted that the above illustrations of the exemplary sensorsare only to provide a better understanding. Apparently, afterunderstanding basic principles of various sensors, a person skilled inthe art may make various modifications and variations in forms ordetails in regards to the manner and steps of sensors, add new sensors,or simplify some existing sensors, according to the practical needs.These modifications or variations should be considered within the scopeof present disclosure.

FIG. 39 is an embodiment of the security mode in the environment controlsystem. Via the operation interface of the environment control system,the user may set the security password to start the security mode. Atouch screen may display instructions to notify the user that thepresent interface is related to the security mode. There may beinstructions 3930 on the touch screen to tell the user that a securitypassword needs to be input to start the security mode. If the userchooses not to start the security mode, the user may click on the crossmark (X) 3920. The user may click on the check mark (√) 3910 to continueto enter an interface for inputting password. The user may input thepassword via a numeric keyboard on the touch screen. If the environmentcontrol system enables passwords that may include other characters (forexample, letters and special symbols), the keyboard on the touch screenmay include corresponding characters. When clicked by the user, thenumber may be illuminated to enable the user to see the input content.The illumination of the numbers may end in a period of time after theclicking ends, for example, 1 second, 2 second, 3 seconds, or longer. Asshown in FIG. 40, the touch screen may display the security modeinstruction icon 4010, the number of digits in a user-input password4020, and numeric keyboard 4030. A user may click on the check mark (√)4032 to confirm the completion of input, and may also click on thebackward mark (←) 4031 to undo the latest input.

Forms of a security password may include, and without limitation to, aphysical key, a numeric password, an alphabet password, a sound/voicepassword, an image password, a fingerprint password, an iris password,and an electromagnetic password. A password may also be a combination ofthe forms mentioned above. If the security password is a combination ofsymbols and numbers, the respective length of symbols and numbers andtotal length of the password may be determined based on specificscenarios. The environment control system may specify the composition ofthe security password to enhance its security level. For example, theenvironment control system may specify the shortest length for thepassword, or the composition of password (e.g., at least one digit ofnumber, one letter in upper case, one letter in lower case, and onespecial symbol), etc. The password may be used as an authentication of auser's privilege to enter a house or certain part of the house. Besides,the password may also be used to confirm a user's access permission tothe environment control system. One environment control system may haveseveral passwords and different passwords may specify different entrancepermissions and/or access permission. For example, a first password mayprovide the full entrance privilege (e.g., the privilege to enter anypart of the house) and access privilege (e.g., privilege to set andchange the whole or part of the environment control system, for example,air conditioning modes, security modes, or smart lighting modes). Thefirst password may be provided to administrators of the environmentcontrol system where the environment control system is installed (theadministrators may be, for example, the owners of the house). The firstpassword may be provided by the environment control system as theprimary password. The first password may be set by the administrator.The environment control system may ask the administrator to provide theprimary password prior to setting the first password. If anadministrator forgets the first password, the environment control systemmay allow the administrator to retrieve or reset the first password. Asecond password may provide partial entrance privileges withoutproviding any access privilege. The second password may be offered toother persons such as children in a family. The children may entercertain parts of the house, but not other parts where the children mayencounter dangers, such as a swimming pool, a bathroom, or a workshopwhere machines are installed. The children may not change system deviceswhen they are provided with the second password. A third password mayprovide partial entrance privileges (such as, the privileges to accesspart rather than all areas of the house), along with partial accessprivileges (such as the privileges to set and change certain deviceswithin the environment control system to modes other than securitymodes, for example, air conditioning mode, and smart lighting mode,etc.). The third password may be provided to persons such ashousekeepers, as they may need to enter rooms that require cleaning,whereas other parts of the house have restricted access. Thehousekeepers may be able to change several devices within theenvironment control system when they are provided with the thirdpassword. The security passwords are stored in the environment controlsystem and may be retrieved when other modules are executing thefunctions of the security mode.

As shown in FIG. 41, after a password is input into the security mode,the interface 4100 may display instructions 4130 asking whether or notto initiate the security mode, along with a cross mark (X) 4120indicating “cancel” and a check mark “√” 4110 indicating “confirm.” Thesecurity mode may have two states, enabled and disabled. If the securitymode is enabled, the sensing module 120 may then start to monitor andinformation collected may be used to determine whether certainsuspicious target (such as an unknown person, a robber, and any othertarget who does not know the security password has appeared). Sensingmodule 120 may include several sensors, as described in other parts ofthis disclosure. For illustrative purpose only, the sensing module 120may detect information regarding the existence of moving objects. Themethods of detecting such information may include, and withoutlimitation to, acquisition of video containing image and soundinformation using a video recording device. It shall be noted that theexemplary embodiment of the detection of moving objects by sensingmodule is provided for better understanding. Other information by whichthe appearance of a suspicious target may be determined, such as sound,light, weight, temperature, pressure, velocity and acceleration, iris,human face and combinations thereof, may also be detected by the sensingmodule 120. For example, the sensing module 120 may detect human facialinformation for further analysis.

The sensing module 120 transfers detected information to the processingmodule 110 to conduct analysis and determination. The determinationincludes, without limitation to, comparison of collected informationwith a certain parameter (such as a reference value, a reference range,a threshold, a preset value, or a predicted value). The parameter may beset by a user, or acquired by the environment control system via aself-learning process. After analyzed by the processing module 110, ifcollected information satisfies requirement of certain parameters (suchas conforming to some reference value, entering in some reference range,exceeding some threshold or predetermined or predicted value, etc.),then the information is deemed to be suspicious information, and theenvironment control system may take a corresponding reaction to thesuspicious information. The reaction is for the further determination ofwhether the suspicious information is a security breach or not. The waysof determination include, and without limitation to, a time constraintimposed on the user to input the correct security password to theenvironment control system to lift the suspicious information. Thelength of the time period, such as 20, 40 or 60 seconds, may be presetby the user, or acquired by the environment control system according toa self-learning function. If information transmitted into processingmodule 110 from the sensing module 120 does not fulfill the requirementof certain parameter (such as inconsistency with some reference value,being out of some reference range, failing to reach some threshold orpredetermined or predicted value) the information will be deemed safeand may be deleted or stored for other purposes.

If the suspicious information fails to be lifted within a period oftime, the processing module 110 starts to send instructions to one ormore modules of the sensing module 120, the control module 130, and thecommunication module 140. Particularly, instructions sent to the sensingmodule 120 may include action instructions to the sensing module, if thesensing module 120 has a camera. The action instructions include, andwithout limitation to, controlling an angle, focal length, resolution,shooting modes, shooting duration, etc. Instructions sent to the controlmodule 130 may include turning on, off, or adjusting content controlledby the control module 130. The contents that may be controlled by thecontrol module 130 include, and without limitation to, controllingelectric current, motors, or computing devices, etc. Particularly, thecurrent control includes, without limitation to, control of connectingand disconnecting currents of external devices; control of motorsincludes, without limitation to, control of the “on/off” states,displacement, velocity, acceleration, rotating angle, angular velocity,angular acceleration of the motors, etc.; the control of computingdevices includes, and without limitation to, controlling personalcomputers, servers, and micro electronic devices. If the control module130 has an alert device, instructions may include, and withoutlimitation to, turning on or off the alert device. Instructions sent tothe communication module 140 may be to detect the network environment,to confirm the receiving terminal, to connect or terminatecommunication, to transfer destination information, etc. It should benoted that instructions sent to other modules by the processing module110 are not limited to the examples listed above. Those skilled in theart may make adjustments according to particular needs without furtherinnovation. At night, infrared technology may be selected by the videocollecting sensor in the sensing module 120 in order to record withoutdisturbing the suspicious target. Besides, if the processing module 110sends instructions to several modules, the order, level of control,frequency of action may be set by the user, or acquired by theenvironment control system or the security mode through self-trainingaccording to the practical scenario. For example, the processing module110 may first send an instruction to the sensing module to let itscamera track and record suspicious information; then send instructionsto the control module 130 to turn on the alert device and let the lightflash; finally send an instruction to the communication module 140 toestablish communication connection and transfer the suspiciousinformation to the user's reading terminal. The processing module 110also may send above instructions to the sensing module 120, the controlmodule 130 and the communication module 140 simultaneously.

Further, as shown in FIG. 42, the smart switch 4210 may send thecollected information, such as but not limited to sound, video, actions,and any other information of objects, etc., to the user's mobile device4230 via the cloud server 4220, and the mobile device 4230 may displaythe corresponding information 4231. In addition to monitoring andsending alerts for the indoor living environment, the security mode mayalso monitor and send alerts for the external environment. Furthermore,a device in the security mode may be installed on the porch to monitorthe security condition near the porch and the front or rear yard. Forexample, the device may monitor if anybody passed through the porch. Inthe case that a motion of an object is detected and the object'sdimension and moving pattern satisfy some reference values (such as athreshold, a predetermined or predicted value), information related tothese changes may be recorded automatically. The related informationincludes but is not limited to, sounds, images, videos, actions oridentity of objects, etc. The information may be sent to the user in away as shown in FIG. 42, and the user may be able to take furtheractions on a device such as a mobile device or personal computer. Thisfunction may prevent a delivered package a courier has laid at the porchfrom being stolen, or prevent somebody from entering the front or rearyard illegally. The above examples are for illustrative purpose andapplications of the security mode may be of other types as well, such astime-dividing or zone-dividing control over a target area. Various roomsin a house may be assigned with different weights according to thevalues of items stored in the rooms. For instance, a study room, acollection room, and rooms having a window that may be easily brokenthrough may be assigned a highest security level; rooms such as alounge, a kitchen, a bedroom may be assigned a moderate security level;and rooms such as a restroom or a bathroom may be assigned a lowestsecurity level. For different security levels, the strength of security(such as if the security mode is on for the whole day or if passwordauthentication is required) may be different. Additionally, the roomsmay be divided into different zones according to their relativepositions, such as upstairs rooms or downstairs rooms. During daytime,when the family is not at home, security mode for upstairs anddownstairs rooms may be turned on; at night, when the family isupstairs, security mode for upstairs rooms may be turned off temporally,while security mode for downstairs rooms may be turned on. Thetime-dividing and/or zone-dividing may serve the energy-savings and/orother purposes. Persons skilled in the art, may also make otherexpansions or modifications, and such variations are deemed to be withinthe scope of the present application.

The user, after receiving suspicious information, may make the finaljudgment. Assuming the suspicious information is confirmed, the systemitself may take some defensive measures such as automatic calling thepolice, sending the alerting information, determining whether or notdoors of bedrooms are closely locked to ensure personal safety, etc.,after the instructions are transmitted to the environment controlsystem.

It is noteworthy that the steps and modules of security mode describedabove are for illustrative purpose only. In real implementationscenarios, a person having ordinary skill in the art may make expansionsor modifications to the steps or modules without any innovation. Forexample, the sensing module 120 may bypass the processing module 110 toexchange data with the control module 130 or communication module 140directly. Accordingly, with respect to the processing flow, informationcollected by the sensing module 110 may influence the control module 130or be transmitted via the communication module 140 directly, withoutbeing processed by the processing module 110. These variations are stillwithin the scope of the present application.

FIG. 43 illustrates an exemplary embodiment of the control of anexternal device by the environment control system.

As shown in FIG. 43, the generator 4310 is in connection with theprocessing module 110 via the power module 4320 of the environmentcontrol system. The generator 4310 may be a power source capable ofsupplying power to the environment control system, including but notlimited to an external power, a storage battery, and a generator, asdescribed in other disclosures herein. The power module 4320 may supplypower to the processing module 110 directly, or may supply power to theprocessing module 110 via a battery charging device 4330. The batterycharging device 4330 may use a rechargeable battery. Detaileddescriptions of the battery charging device can be found in other partsof the disclosure herein. In the environment control system, certainways may also be adopted for the convenience for the power management.By way of example and without limitation, setting low batterynotifications 4340, setting specific icons on the user operationinterface to show parameters such as the mode of power supply (such asexternal power, storage battery, or power generator, etc.) and the modeof existing power (for example, indicated by blocks or percentages) orthe state of charging (charging or not charging). The system may set alowest threshold or safety threshold for the existing power, and whenthe existing power is lower than the threshold, some measures may betaken by the system to notify the user. By way of example and withoutlimitation, the system may send automatic notification to ensure normaloperating of the system. For example, if system is working with powersupplies from a storage battery, and remaining power in the battery islower than the preset threshold, and the battery is not being charged,then the automatic alerting goes off until the user makes someimprovement to the above situation, such as but not limited toreplacing, charging the battery, switching to the AC power, etc. Theprocessing module 110 may send a series of action instructions; thetargets which receive the instructions include but are not limited tocurrent devices, motors and computing devices as those described in thepresent disclosure. For example, the controlled object may be a motor4360, and the content of its control includes but is not limited tocontrol over the “on/off” states, displacement, velocity, acceleration,rotating angle, angular velocity, angular acceleration of the motors.The processing module 110 may transmit a specific action instruction tothe motor 4360, the motor 4360 then drives an external device togenerate a corresponding action. The external device 1443 may include,and without limitation to, a power, a network communication device,communication modules, and home appliances, etc. Further, homeappliances may include, and without limitation to, a fan, arefrigerator, a washing machine, a television, an air conditioner,kitchen appliances, bathroom appliances, etc. For example, the externaldevice 1443 may be a vent outlet of a smart fan, and the types of thefan may include, and without limitation to, a household electric fan andindustrial fan. The household electric fans may include, and withoutlimitation to, a fan, desk fan, floor fan, wall fan, roof fan, exhaustfan, wind wheel fan, air-conditioning fan, etc. The instructionsreceived by the smart fan from the processing module 110 may include,without limitation to, the control over the dimension and direction ofthe outlet of the fan, the control over the rotating speed,acceleration, and delivery of the fan blade, for controlling the roomtemperature. Thus the temperature in each room may be adjusted inreal-time according to various needs, thereby also achievingenergy-saving purposes. On the other hand, action instructions sent bythe processing module 110 may exert control over other communicationdevices 4350 via the communication module 140. The communication of thecommunication module 140 may be wired or wireless, and the wirelesscommunication may include, and without limitation to, radiocommunication, free-space optical columniation, sonic communication,electromagnetic induction, etc., as described in the present disclosure.The communication device 4350 may include wireless communication devicesor wired communication devices, such as but not limited to wirelessdevices (notebooks, wireless televisions, mobile phones, etc.),Bluetooth devices, near field communication devices, etc.

It should be noted that the above illustrations with respect to smartfans are for the purpose of understanding how the environment controlsystem controls the external devices, and do not limit the scope ofcontrolling modes for all external devices. For example, in someembodiments, the external device may be a smart heating system, andinstructions from the processing module 110 may include, and withoutlimitation to, turning the fireplace on, adding fuel, the amount of fueladded, the intensity of the fire, opening the fireplace, turning on theexhaust fan, etc. Persons of ordinary skill in the art may also makemodifications and variations to the smart fans. In some embodiments, thecontrolled target may be an air conditioner having a control module atits outlet, the power supply form of which control module is shown inFIG. 44. Particularly, in some embodiments, the power may be an externalpower, a storage battery, or a power generator, etc. In someembodiments, the power is a storage battery 4440, and the storagebattery may be a disposable battery or a rechargeable battery. In thoseembodiments where the power is a rechargeable battery, the charging ofthe rechargeable battery may be by an external electric power source, oran electricity generator 4310. In those embodiments where therechargeable battery is charged by the electricity generator, thecharging may be achieved through for example using a wind-poweredgenerator 4430 in the ventilation pipes 4420 of the house to generatepower. Wind-power generated electricity may be pumped into the battery4440 to drive the motor 4450 for controlling the vent outlet 4470. Thebattery 4440 may include a function for notifying the battery level,such as an indicator light 4460, and when remaining charge is lower thana certain threshold, an alarm may be generated. For another example, theprocessing module 110 in the ventilation mode may have a gas compositionsensor 4370 to monitor and/or detect composition and/or content of gasesin a certain area. These gases may be from the environment, or from thehuman body. Gases from the environment may include, and withoutlimitation to, carbon monoxide, carbon dioxide, oxygen, ozone, ammonia,methane, formaldehyde, benzene and phenyl group compounds, smoke andfog, and any other organic or inorganic gas. Gases from human bodyinclude pheromones and other smells originated from the human body.After transmission of the data relating to the composition and contentof these gases to the processing module 110, dimension and direction ofthe vent outlet 4470, the rotating speed and acceleration of fan bladeand the wind delivery may be controlled to keep room air fresh. A deviceof the smart ventilation mode may be installed on the wall 4410 andconnected with the ventilation pipes 4420.

FIG. 45 is one exemplary embodiment of video voice intercommunicationfunctions of the environment control system. The interface 4500 shows avideo voice intercommunication icon 4510, text descriptions for press &hold to broad cast 4511, operation tips 4520, and call area selectionicon 4530.

For illustrative purposes, an embodiment of video voice call isdescribed. The video voice call system consists of a processing module110, a sensing module 120, a control module 130 and a communicationmodule 140. The user initiates video voice call to input actioninstruction, the processing module 110 converts the user's action to acontrol instruction to the sensing module 120, the sensing module 120transfers collected intercommunication information to the processingmodule 110, and the processing module 110 sends the instruction to turnon the communication module 140, then communication module 140 transfersthe intercommunication information to certain receiving device.

A user initializes a video or voice call by the operating interface ofthe environment control system or via a user terminal. The userterminals may comprise any device that the environment control systeminstalls, such as a desktop computer, a notebook, a palmtop computer(PDA), a tablet, a mobile terminal (phone), etc. The user may selectrooms that he/she desires to speak to via the interface. These rooms mayinclude, and without limitation to, the lounge, lounge, bedroom,nursery, study, kitchen, toilet, bathroom, etc., They may also be roomsdefined by the user, these rooms may be close to each other, or be faraway from each other. The user may be within one room, or far from theserooms. The user may choose one of the rooms to speak to, or chooseseveral rooms to speak to simultaneously.

The processing module 110 transforms operations from the user into aseries of instructions. The processing module 110 may send theinstructions to one or more modules in the group of sensing module 120,control module 130, and communication module 140. The content ofinstructions sent to the sensing module 120 may include, withoutlimitation to, turning on sensors for collecting specific information,including video, audio or text message, etc. The information collectionsensor may be a camera, a microphone, or a text input device, etc. Thecontent of instructions sent to the control module 130 may include,without limitation to, turning on a receiver or video playing window,which receiver or video playing window may be in the operating interfaceof the environment control system, or in the user's terminal. In thoseembodiments where the user uses a terminal, the content of instructionssent to the communication module 140 includes, without limitation to,turning on the communication module, receiving messages by the user viathe terminal, such as voice, video or text messages. The connectionbetween the communication module 140 and other communication modulesoutside or within the environment control system may be wired orwireless. The wired connections may include, and without limitation to,connections using metal cable, optical cable, or hybrid optical andelectrical cables; the wireless connections may include, and withoutlimitation to, radio communication, free-space optical columniation,sonic communication, electromagnetic induction, etc.

Information collected from the sensing module 120, or that received fromthe user by the communication module 140, is transferred to theprocessing module 110. The processing module 110 then sends instructionsto the communication module 140, and the communication module 140selects an appropriate way of communication to send the user informationto the destination room. The appropriate way of communication is anoptimized transmission strategy decided based on conditions such aswhether a terminal device exists, the quality of network environment,the volume of the information file, etc. For example, in someembodiments, a user may record a message using the interface of theenvironment control system for another user within a destination room toreceive using a mobile device, such as a mobile phone. In order toimprove transmission efficiency, the environment control system maypreferably select an appropriate communication for the mobile phone forthe transmission, for example via a wireless network such as Bluetooth,WLAN, Wi-Fi, etc., or a mobile network like a 2G, 3G or 4G network, orother connections methods such as VPN connection, shared network, NFC,etc., instead of transmitting to the receiving cell phone indirectly viathe environment control system in the destination room.

Message received by a user in the destination room may be openedautomatically or opened after the user in the destination room clicks onit. The user in the destination room may choose not to respond to themessage, to reply to the message (according to the process describedabove), to block the message, to store or delete the message, and toforward the message.

FIG. 46 shows an embodiment of a user interface in the video voice callmode. This embodiment lists communications between the smart switch 4610and the smart switches 4620, 4630 and/or 4640, where each smart switchis equipped with a loudspeaker device 4680 and voice collecting device4690, etc. The display area of the smart switch contains an areaindicator 4650 and a selection indicator 4670. Areas capable of hostinga video voice call may include, and without limitation to, one or morebathrooms 4661, one or more bedrooms 4662, one or more lounges 4663 andone or more kitchens 4664.

Additionally, the video voice call mode further supports call answeringfunctions, which may be realized by a standalone communication device,such as but not limited to a fixed or mobile phone that is designated aphone number and capable of dialing or answering phone calls. Forexample, the smart switch may have a slot for inserting a SIM card thatenables the phone calling and answering functions. For another example,the call-answering function of the video voice call mode may be realizedthrough its connection to a fixed or mobile phone, where the connectionmethods may be wired or wireless. Particularly, further detaileddescriptions may be found in the description of the communication moduleof the present disclosure. When the fixed or mobile phone is called, theuser may turn on a nearby answering button of the system to speak if theuser cannot find the phone right away. For example, if a user is in thebathroom or restroom and the fixed phone being called is in the loungeor the mobile phone being called is not with the user, the user mayanswer the phone call in the bathroom or restroom directly, instead ofdeclining the call or hurrying to the lounge to answer the call.

In another embodiment of the video voice call mode, devices within anenvironment control system may conduct a video voice call with devicesin one or more other environment control systems, via media such as theinternet or carrier operator network. For example, a user may make avideo voice call to the smart switch 1410 in another user's home thatmay be in a different street, city or country, via the smart switch 1410in his/her home, or make a video voice call to his/her neighbor via thesmart switch 1410. The above examples are only for illustrativepurposes, and applications of this embodiment may fall under otherscenarios. For example, user A connects to the smart switch 1410 throughtelevisions 1448-1, 1448-2, or 1448-3 in environment control system A(such as a television with video and audio acquisition equipment, etc.)and initializes a video voice call to user B. User B then uses a mobiledevice 1430 in environment control system B to establish the video voicecall with the user A.

The video voice signal may be acquired by a video recording device in asmart switch, and the user may choose video and/or voice call. The usermay initialize a video voice call from a smart switch, mobile device,television or other devices, or answer a video voice call on a smartswitch, mobile device, television or other devices. Answering may beautomatic (for example, the environment control system after receivingan invitation of a video voice call may turn on the corresponding deviceto initialize the video voice call) or via manual operation (forexample, the environment control system may generate notifications suchas buzzing or flashing upon receiving an invitation of a video voicecall, and the user then may choose whether or not to answer the call onthe interface). Additionally, the user may set a “do not disturb” timeperiod, for example, to decline video voice calls between 10 p.m. to 6a.m. The user may also establish a friend list and a black list, inwhich information such as locations, phone numbers, IP addresses, oruser personal information may be recorded.

It should be noted that the above description on the flow and modules ofthe video voice call merely serves as exemplary illustrations. In actualimplementation scenarios, persons having ordinary skill in the art maymake expand or simplify the content of the flow or modules withoutadditional innovation. For example, the sensing module 120 may bypassthe processing module 110, and directly exchange data with the controlmodule 130 and communication module 140. For another example, datacollected by the sensing module 110 may affect the control module 130 orbe transmitted via the communication module 140, without being processedby the processing module 110. These variations are still within thescope of the current application.

FIG. 47 is an illustration of an exemplary embodiment of the vehiclecontrol. Particularly, the smart switch or simplified smart switch 4710has a touch screen 1711, a processing module 110, a sensing module 120and a storage device 520. The communication module 140 in the smartswitch or simplified smart switch 4710 may communicate with the vehicle4720 wirelessly. The mobile device 1430 and the cloud server 540 mayconduct bi-directional wireless communication with the communicationmodule 140. The user may send data to the vehicle 4720 via a mobiledevice 1430 and the data arrives at the vehicle 4720 via thecommunication module 140. The vehicle 4720 receives the data and thenprocesses it, to achieve the purpose of controlling the vehicle-mounteddevices. The vehicle-mounted devices may include, and without limitationto, engines, motors, vehicle-mounted multimedia or GPS mapping devices,air conditioners, etc. The smart switch or simplified smart switch 4710may acquire data related to the outer environment via the sensing module120. The data may be recognized as one mode by the processing module110, and the mode may be sent to a cloud server 540 via thecommunication module 140 in a specific manner and be stored in the cloudserver 540 after being received by cloud server 540. The smart switch orsimplified smart switch 4710 may recognize another mode at a specifictime, and the smart switch or simplified smart switch 4710 maycommunicate with the cloud server 540 via the communication module 140.By applying a specific algorithm to historical modes stored in the cloudserver 540, certain patterns may be acquired. The smart switch orsimplified smart switch 4710 may take corresponding actions in thespecific time according to the pattern. For example, via the sensingmodule 120 the smart switch or simplified smart switch 4710 may acquirethe following information: time, 7:00 p.m. on Dec. 28, 2052; season,winter; external temperature, −20° C.; internal temperature, 20° C. Bycommunicating with the vehicle 4720, the smart switch or simplifiedsmart switch 4710 may acquire the following information: the state ofthe motor, off; the state of the air conditioner, off; air conditioningtemperature, 0° C. By communicating with the cloud server 540, the smartswitch or the simplified smart switch 4710 may acquire the followingpattern: the user usually leaves the room during the time between 7:30and 8:00. According to the acquired pattern, the smart switch orsimplified smart switch 4710 may send the following instructions to thevehicle 4720: starting the vehicle 20 to 30 minutes ahead of time;initializing the air conditioner; switching the air conditioner to theheating mode; setting the temperature of air conditioners to be 20° C.;initializing the vehicle-mounted multimedia and playing the user'sfavorite songs or displaying the real-time traffic information;adjusting the seat; initializing the GPS map to receive the destinationlocation transmitted by the smart switch or simplified smart switch 4710and planning the optimized path according to the destination locationautomatically; starting the engine 15 minutes ahead of time; preheatingthe vehicle 4720. Furthermore, the vehicle 4720 may send data to thesmart switch or the simplified smart switch 4710 via the communicationmodule 140 in real time or upon regular intervals. The data may include,without limitation to, the fuel-consumption condition of the vehicle,the condition of the battery, the condition of the refrigerant, etc.Especially if a vehicle was stolen, an alarm may be sent to the smartswitch or simplified smart switch 4710 to warn that the vehicle 4720 hasbeen stolen. The communication between the smart switch or simplifiedsmart switch 4710 and the vehicle 4720 is not limited by their distance,i.e., wherever the vehicle 4720 is, it is able to communicate with thesmart switch or simplified smart switch 4710. It should be noted thatpatterns acquired by the application of specific algorithm oninformation acquired by the sensing module 120 described above, theactions taken by the smart switch or simplified smart switch 4710, andthe actions of the vehicle 4720 are for illustrative purposes. Theinformation acquired by the sensing module 120 may be any physicalquantity detectable in the environment, the patterns may be any habit ofany user during specific time periods; the actions may be any actionsmade by the smart switch or simplified smart switch 4710; the vehicle4720 may be a motorcycle, an electric car, an electric bicycle, a yacht,a Segway, an airplane, an electric wheelchair, a baby carriage, etc.

FIG. 48 shows a flow chart of how the environment control system mayprocess some preset events. In this embodiment, the processing module110 determines information detected or received by the sensing module120, the communication module 140 and/or the cloud server, such as thechange of environment, sudden events, or real-time communication. Afterthat, actions may be taken by the control module 130, or via theconnection to the external device 160, to deal with the preset events.Hereinafter, a preset event that needs to be dealt with in a certaintime are generally referred to as an emergency event, while the term“emergency event” does not necessarily suggest that the event has strongtime-sensitivity or hazardousness.

First, the Step 4810 determines whether or not an emergency event isdetected. Steps of 4820, 4830 and 4840 may then determine if theemergency is one of the preset events. If the emergency event is one ofthe preset events, the corresponding plan is executed in steps of 4821,4831 and 4841; otherwise, if that emergency event is not one of thepreset events, then the event is reported to the user and stored.Possible emergency events may include, and without limitation to,changes of weather, natural or man-made disasters, security events,communication events, time reminding, errors of the environment controlsystem, notifications, etc. Furthermore, changes of weather may include,and without limitation to, sudden rainfall, precipitation, cooling,warming, environmental pollution, and changes in intensity of sunlightand wind speed, etc.; Natural or man-made disasters may include, andwithout limitation to, low temperature, high temperature, heavy rain,heavy snow, hail, typhoons, cyclones, tornadoes, dust storms, lightning,earthquake, tsunami, flood, volcanic landslide, pests, rodents, fire,etc.; security events may include, and without limitation to, thefts,robberies, human physical injuries, illegal invasion, illegalrestriction of personal freedom, terrorist attacks, anti-societyattacks, other man-made alarming, etc.; communication events mayinclude, and without limitation to, calls based on fixed phone withinthe environment control system or between the environment control systemand the external, call based on mobile devices, and video call, voicecall, text messages, image messages, voice messages, video messages bywireless or wired means, etc.; time notifications may include, withoutlimitation to, a calendar, events in different time zones, an alarm, atimer, a stopwatch, etc.; system errors may include, and withoutlimitation to, hardware or software errors of the environment controlsystem, hardware or software errors of the home appliances, hardware orsoftware errors of the home multimedia devices, hardware or softwareerrors of mobile devices, hardware or software errors of motor vehicles,and hardware or software errors of other electronic devices, etc.;notifications may include, and without limitation to, notificationspreset by the user, notifications synchronized from mobile devices orpersonal computers, automatic notifications, etc. The above examples arefor illustrative purposes and the emergency events may include otherevents such as important festivals and appointed events, etc.

After an emergency event is detected, the environment control system maymatch the detected event with the preset events, and execute plannedresponses with respect to the corresponding events if a match is found.Responses with respect to events may include, and without limitation to,sending notifications, communicating with public networks, controllingelectric current and motors, etc. Further, responses with respect toemergency events may include, and without limitation to, sendingnotifications on the user interface screen of the environment controlsystem; sending notifications to the mobile device and personalcomputer; receiving alarms or answering other phone calls; sendingemails including text, image, voice or video information; sendinginstant messages including text, image, voice or video information;posting text, image, voice or video information on social networks suchas Facebook or Twitter; uploading text, image, voice or videoinformation to a cloud server; controlling flickering of lights;controlling loudspeaker and alarm; controlling locking of the doors andwindows, controlling the on/off and angle of surveillance cameras;controlling the on/off of home appliances, etc. The examples describedabove are for illustrative purposes, and responses to emergency eventsmay be other types, such as controlling the on/off of the ventilationdevices and the sprinklers.

Setting emergency events may be achieved by, but is not limited to,events set in storage devices in the environment control system, eventsset by the user via user interface of the environment control system,mobile devices, or computers, events downloaded from a local network orthe internet, events set via a cloud server or via the self-learningfunction of the environment control system, etc. For example, plansstored by the environment control system may include that after thedetection of an illegal invasion, the environment control systemimmediately records and uploads videos to the cloud server, rings thealarm and calls the public security system (for example, 9-1-1 emergencycall in the United States) at the same time; plans set by the user viauser interface of the environment control system may include that thevehicle is to be started and preheated in a certain time in the morningof a low-temperature working day; plans downloaded by the user from theinternet or set by other users may include that the music is to beplayed along with lights turned on when a family member is back home onhis/her birthday; plans determined by the self-learning functions storedin the cloud server of the environmental control system may include thataction B is executed immediately after the occurrence of event A, if theself-learning function have learnt the user's habit of executing B afterA, etc. These plans may control every module in the environment controlsystem and external devices. Furthermore, in some embodiments, thedevice controlled is a lighting device, and the flickering of the lightmay act as one response to emergency events. By way of example andwithout limitation to the following plans, the light may flickercontinuously in the SOS Morse code in case there is an alarm of asecurity event; the light may flicker rapidly and continuously in casethere is a sudden event; the light may execute a breathing-type flickerin a certain period of time when the intercommunication of theenvironment control system sends voice or text messages; and the lightmay execute a slow flicker in a certain period of time when the timer isworking.

FIG. 49 shows an exemplary embodiment of near-field communication (NFC)payment function. The smart switch or simplified smart switch 4911 islocated within 4910. The smart switch or simplified smart switch 4911contains at least one near field communication or NFC module. A card4912 contains a NFC module. Other device 4913 contains a NFC module. Themobile device 1430 contains a NFC module. The smart switch or simplifiedsmart switch 4911 may conduct bi-directional communication with themobile device 1430, the card 4912 and the other device 4913, where thecommunication may be in an active mode or a passive mode. In the activecommunication mode, both sides of the communication have their own powerdevice and both sides of the communication generate their ownelectromagnetic field. In the passive mode, only one side of thecommunication has its power device, while the other side acquires powerto drive itself to work using an electromagnetic field emitted by theside having the power device. An NFC device may work in a cardsimulation mode, a point-to-point mode, and a card-reader mode, or anycombination of the above modes. The smart switch or simplified smartswitch 4911 may conduct bi-directional communications with the target4920 through the communication module 140, and the target may include,without limitation to, a store 4921, an online vender 4922, a bank 4923,other users 4924, other units 4925, etc. It should be noted that targetslisted above are for illustrative purposes, and the target 4920 may alsoinclude schools, railway stations, airports, hospitals, conveniencestores and any other location that may communicate with the smart switchor simplified smart switch 4911. Apparently, after understanding ofdisclosure and principles of the present application, persons skilled inthe art may conceive various modifications or variations to the forms ordetails of the target 4920, without departing from the presentprinciples and structures. These modifications and variations are stillwithin the scope of the present disclosure and claims. The smart switchor simplified smart switch 4911 may communicate with the store 4921 orother targets in 4920 to receive their coupon information or otherinformation pushed by the store 4921 or other targets in 4920, such asthe business hours or changes thereof, school hours or changes thereof,activity locations or changes thereof, etc. Take the store coupon as anexample, the smart switch or simplified smart switch 4911 may store thereceived coupon information into the corresponding storage device. Whenthe mobile device 1430 is close enough to the smart switch or simplifiedsmart switch 4911, the two devices may be able to conduct bi-directionalcommunication. The mobile device may acquire coupon information storedin the smart switch or simplified smart switch 4911. After the mobiledevice 1430 acquires the coupon information, the user may go shopping atthe store 4921 that provided the coupons. Also, the mobile device 1430may consume the coupon directly via the smart switch or simplified smartswitch 4911: after receiving information that the coupon has beenconsumed in the mobile device 1430, the store 4921 delivers the contentof consumption to the holder of the mobile device 1430 via a courier orin person. The card 4912 may conduct passive communication with thesmart switch or simplified smart switch 4911. After establishment of thecommunication, the smart switch or simplified smart switch 4911 consumesthe coupon information stored in the smart switch or simplified smartswitch 4911 by reading information in the card 4912. After receiving theconsumption information in the card 4912, the store 4921 delivers thecontent of consumption to the holder of the card 4912 via a courier orin person. Furthermore, the card 4912 may conduct active communicationwith the smart switch or simplified smart switch 4911 by activecommunication. The card 4912 may receive the coupon information storedin the smart switch or simplified smart switch by active communication.The above description on the consumption of coupon information is just aspecific example, which should not be deemed as the only practicalimplementation. Apparently, after understanding the basic principles ofpayment using near field communication, persons skilled in the art maymake various modifications and variations to the forms or details of theimplementation of near field communication payment, and thesemodifications and variations are still within the scope of the presentdescription. The other device 4913 may be any device that supports nearfield communication payment, such as a Wii U GamePad, by which games maybe purchased through the smart switch or simplified smart switch 4911.

The environment control system has a self-learning function, of whichone exemplary embodiment is described below. According to data acquiredin its operation, the environment control system analyses the pattern ofthe data, continuously optimizes its algorithms, and finally reaches adegree that it is able to make judgments in unknown situations.Particularly, the data may include, without limitation to, data acquiredby the environment control system via the sensing module 140, user'sdaily habit of using, data input to the environment control system, andany combination thereof.

Further, data acquired by the environment control system via the sensingmodule may include, and without limitation to, any physical, chemical,or biological data. Particularly, the physical data may include, withoutlimitation to, sound, light, time, weight, approaching, location,temperature, humidity, pressure, current, velocity, acceleration,breathable particles, radiation, texts, images, touch, iris,fingerprint, etc.; chemical data may include, without limitation to, airpollutants, water pollutants, etc.; biological data may include, withoutlimitation to, smell, microorganisms, allergens, etc. User's daily habitof using may include, without limitation to, operations by the user whenusing any part of the environment control system. These operations mayinclude, and without limitation to, any one or combination of deleting,adding, selection, forward, backward, back, turning on, turning off,increase, decrease, speeding up and slowing down, as well as the one ormore of time, location, range, intensity, dimension, frequency,precision corresponding to these operations. Additionally, a user'shabit of using may include feedback to the judgment of the environmentcontrol system, such as but not limited to agree, decline or neither,etc. Data input to the environment control system may include, withoutlimitation to, codes, algorithms, programs, software, or applicationsthat are transmitted to or input into the environment control systemusing network, floppy disk, hard disk, CD, flash drives, chips or otherdata carriers, or through input devices such as a keyboard or mouse.Through self-learning and analyzing acquired data or feedback, theenvironment control system continuously optimizes its algorithms, andeventually realizes artificial intelligence. For example, theenvironment control system may learn about when lights should be onthrough the user's operations of turning on the lights. Meanwhile,through the use of light sensors, the environment control system maylearn about the luminance condition in the room every time before theuser turns on the light. After continuous self-learning, the environmentcontrol system may automatically acquire a mode; that is, when luminancein a room reaches a certain threshold, automatically turn on the light.In another example, when the user travels and is not at home, theenvironment control system still decides whether to turn on the lightwhenever luminance reaches a certain threshold. But if the motion sensorhas not detected any movement within the house for a period of time, theenvironment control system then will not turn on the light. In thissituation, the environment control system may gradually acquire a newmode; that is, not to turn on the light even when the luminance in theroom reaches the threshold. Additionally, the user may also manuallyinput some instructions to quickly change the self-learning function ofthe environment control system.

It should be noted that the examples described above are forillustrative purpose. The modes of self-learning are not limited to thesituations described above and persons of ordinary skills in the art maymake changes to the technology according to the principles ofself-learning described above.

First Exemplary Embodiment of Artificial Intelligence: Smart Housekeeperof Electrical Appliances

Provided herein is an exemplary embodiment of the environment controlsystem as a smart housekeeper of electrical appliances. The environmentcontrol system may connect all or some of the home electrical appliancesto the environment control system in a certain way, and manage them in adistributed or centralized manner. For example, the setting interface asshown in FIG. 30 may allow a user to access the mode for adding a newhome electrical appliance. The user may pair one or more devices orappliances to the environment control system in that mode, enabling theenvironment control system to communicate with these devices andappliance, to acquire information from and control these devices orappliances. These home appliances may include, and without limitationto, multimedia electronic devices, office appliances, kitchenappliances, bathroom appliances, and any other home appliance.Particularly, the multimedia electronic devices may include, withoutlimitation to, television sets, personal computers, acoustic equipment,home gaming terminals such as Microsoft Xbox series, and SonyPlayStation series, television set top boxes, video/audio playingdevices, and network television terminals; office appliances mayinclude, without limitation to, appliances such as servers, printingdevices, scanning devices, telephones, shredders; kitchen appliances mayinclude, without limitation to, range hoods, electric furnaces, electricstoves, microwave ovens, ovens, refrigerators, dishwashers, smallkitchen appliances such as toasters, juice machines, mixers, etc.;bathroom appliances may include, without limitation to, water heaters,washing machines, dryers, and small bathroom appliances such as hairdryers, beauty instruments, etc.; Other home appliances may include,without limitation to, heating equipment, air conditioners, lightingdevices, central water system, doorbells, routers, data storages,chargers of mobile devices, gateway terminals of smart devices, etc. Theabove examples are for illustrative purpose only, and home appliancesmay be of other types such as home theaters, cars or any other homeappliances.

The environment control system may manage these appliances individually,such as the security mode and lighting mode described above. Theenvironment control system may also manage these appliances in acentralized manner. With respect to centralized management, it mayinclude, and without limitation to, controlling according to the synergyand antagonism between different types of appliances and theself-learning approaches of the environment control system. The synergymay include, without limitation to, the need of coordination of two ormore appliances when doing a task. For example, when cooking, amicrowave oven, an electronic oven, a blender, and a range hood may beused at the same time. The antagonism may include, and withoutlimitation to, the need to stop simultaneous use of other applianceswhen some appliances are working on a task. For example, when the airconditioner is turned on, the heating devices need to be turned off; andwhen the lighting is turned off, the security mode need to be turned on.The environmental control system's self-learning function mainlyanalyzes the user's habits of using with respect to various appliances,such as the user typically turns on the lighting system after closingthe curtain, or turns on the music player after starting a shower. Theenvironment control system may automatically record these sequences ofoperations and optimize its algorithm to control appliances through itscontinued interaction with the user. The environment control system mayuse the synergy/antagonism relationship of appliances and theself-learning function individually or in a combination. To help withbetter understanding, the following example is given: suppose the useris an office worker, who gets up at 7 am, washes up at 7:15 am, preparesbreakfast at 7:35 am and leaves home at 8 am. The environment controlsystem may turn on the air conditioner in the bedroom slowly at 6:50 am;turn on the light in the bedroom at 7 am; preheat the water heater inthe bathroom at 7:10 am; turn on the light in the bathroom at 7:15 am;turn off the air conditioner and light in the bedroom at 7:20 am; turnon the light in the kitchen at 7:35 am, and turn on the range hood afterthe user has turned on the gas; turn off the water heater and light inthe bathroom at 7:38 am; after the user turns off the gas, turn off therange hood; turn on the dishwasher at 7:50 am; turn off the dishwasherand light at 7:55 am; turn on the light in the lounge and broadcast theweather forecast at 7:55 am; open the door and turn off the indoor lightat 8 am.

It should be noted that throughout the user's usage, a series of actionsmay happen, and the environment control system equipped with theself-learning function may adapt to other various situations that arenot limited by the examples provided above. Additionally, the control ofthe appliances by the environment control system is not in a fixed mode,and the system may coordinate every appliance intelligently and fluentlyaccording to the user's real-time actions. For example, the environmentcontrol system may determine the user's status through the sensingmodule each time before it receives or sends a command. For example,even if the bathroom lights are scheduled to be turned on at 7:15, butif the sensing module has not detected the user's activity in thebathroom by then, the system would delay turning on the lights in orderto save energy.

Second Exemplary Embodiment of Artificial Intelligence: SmartConversation Service

The environment control system has a smart conversation function in oneembodiment. When a user appears within the detectable range of theenvironment control system, the environment control system may begin tocollect information of the user and recognize the user according to thatinformation. After recognition of the user, the environment controlsystem may inquire the user's stored database and outputs the content ofconversation according to the user's characteristics, habits, orinclinations. After the user replies, the environment control system mayjudge the semantics of that reply to determine the content of furtherconversation or follow the user's instructions. When the environmentcontrol system collects the users' information, a sensor built inside oroutside the smart switch may be used. The collected information mayinclude, and without limitation to, information or parameters of theuser and the environment. Information of the user may include, andwithout limitation to, face, body, action, speed, acceleration, voice,facial expression, temperature, smell, pheromone, etc. Information ofthe environment may include, and without limitation to, image, sound,temperature, humidity, pressure, gas, electromagnetic waves, etc.Information collected by the environment control system may be one typeof information described above, or a combination of several types ofinformation. The sensor to be used may include, and without limitationto, one or more of video sensors, motion sensors, speed and accelerationsensors, sound sensors, temperature sensors, pheromone sensors, humiditysensors, pressure sensors, gas composition sensors, electromagnetic wavesensors (such as but not limited to visible light sensors, infraredsensors, and ultraviolet sensors). The environment control system makescomprehensive judgment based on the collected information to recognizethe user's identity.

For the sake of illustration, provided herein is an exemplaryimplementation of the image recognition. Assuming that user is hostessA. When hostess A enters into a room in the morning, a video sensor forexample may collect images and sounds of her, then transmits thatinformation to a processing module to perform the recognition. Themethods of recognition may include, and without limitation to, any oneor combination of facial characteristics, body features, soundcharacteristics, characteristics of actions. Particularly, the facialcharacteristics may include, without limitation to, one or morecharacteristics such as ages, irises, facial expressions, hairstyles,the relative position of facial features. Body characteristics mayinclude, and without limitation to, one or more characteristics such asheight, volume, and body proportions. Voice/sound characteristics mayinclude, and without limitation to, any one or combination ofcharacteristics such as pitch, musical quality, frequency, fluency, orkey words, of user's voice or walking sound. The motion characteristicsmay include, and without limitation to, one or more selected from bodymovements (such as movements of head, arms or legs), speed, oracceleration, etc. The environment control system may transmit thecollected information to the processing module to have the informationanalyzed comprehensively to recognize the identity of hostess A. Methodsadopted during the comprehensive analysis may include, and withoutlimitation to, validation of user's identity by comparing the storeddatabase with the collected information using certain algorithms.Assuming that the environment control system determines the identity ofhostess A according to information such as the age, iris, height,walking speed. The environment control system subsequently furtherinquiries data related to hostess A in the environment control systemand outputs the content of conversation according to the specificconditions such as time, location, weather, etc. In this scenario, forexample, the environment control system determines that the hostess Ahas entered into the kitchen in the morning. The content of conversationto be outputted by the environment control system may include, withoutlimitation to, “good morning, dear A! Are you going to make breakfast?”A conversation partner may be displayed by the conversation interface onthe display of a smart switch or other devices. Types of conversationpartners may be defined by the system, or set by a user according tohis/her preferences or habits. These partners may be human subjects,animals, or plants, including, but not limited to, movie stars, singers,historical figures, cartoon characters, and all kinds of anthropomorphicanimals or plants. These partners may be displayed in two-dimensional orthree-dimensional. The language and voice feature of conversationpartner may be set to reserve the partner's own style, or set by theuser. After hostess A receives the conversation information from theenvironment control system, she may respond, such as but not limited to,“Yes, I want to check if anything is left in the refrigerator.” Theenvironment control system, after receiving the response, may then judgeagain. For example, the environment control system may determine thatthe hostess A is going to cook breakfast based on the response “Yes,”and that hostess A needs to check the refrigerator based on keywordssuch as “refrigerator” and “check.” After the processing of theinformation, the environment control system may generate an action thatopens the refrigerator door and output voice “OK. Is there anything elseI may help with?”

It should be noted that the above description is for illustrativepurposes only, and the practical scenario of the smart conversationfunction is not limited to the examples provided above. Persons ofordinary skill in the art may make other variations after understandingof the principles of smart conversation. For instance, the situation inthe example with hostess A may be applied to other members of the familyor pets, such as elders or kids who need company. For example, whensenior B is in the bedroom alone, the system, after a series ofinformation collection and analysis, may automatically start aconversation with that senior person. For example, “Dear B, you havebeen sitting in the room for 2 hours; how about going downstairs andhaving a walk?” The senior person may reply that “Thanks, but no. I wantto know if my grandson C slept well last night.” The environment controlsystem, after checking the record of family member C's sleep last night,may reply “C went to bed at 9 o'clock and slept for 11 hours with a deepsleep of 7 hours. He had a good sleep.” Obviously, this scenario is alsofor illustrative purposes only, and this kind of expansions orvariations that do not depart from the principles are still within thescope of protection sought by the present application.

Third Exemplary Embodiment of Artificial Intelligence: Smart Home Care

The following scenarios may exist in a family: parents are busy workingin a room, having no time to care for the kids or elders temporarily.The environment control system has a smart care function (such as butnot limited to the infant monitoring mode 1915 or 1958 as shown in themenu interface). Below illustrates one of various implementations. Themain workflow of the smart care function is that the environment controlsystem collects information of the cared target, transmits theinformation in real time to the supporter or provider, automaticallyanalyses unexpected situations and sends alarms. The environment controlsystem's collecting information may be realized via its sensing module.The collected information may include, without limitation to,information or parameters of the user in the environment. Information ofthe user may include, and without limitation, to face, body, action,speed, acceleration, voice, facial expression, temperature, smell,pheromone, etc. The sensor to be used to collect such information mayinclude, and without limitation to, video sensors, motion sensors, speedand acceleration sensors, sound sensors, temperature sensors, pheromonesensors. It is also possible to recognize information related to humanor animal subjects using device worn by human or animal subjects, suchas GPS devices, mobile phones, smart glasses, smart watches, or anyother wearable devices along with other information. For example, theenvironment control system may detect wearable devices of a human oranimal subject or information such as the height of the human or animalsubject, and then recognize the identity of the human or animal subject.After collecting the information, the environment control system maytransmit it to the room of the supporter or provider using thecommunication module, such that the user can acquire the status of thecared target in a timely fashion. The forms of such information may betext, voice, and video. Additionally, the environment control system hasan emergency alert function, where the emergency may include, withoutlimitation to, a child falling down, crying, falling from the bed,playing or making noises, and screaming, a senior person falling down,waking up frightened, or screaming, etc. To help illustration, assumethe cared target is a child, and the target location is a swimming pool,while the parents are talking in the lounge. The environment controlsystem may record the activity of the child using a camera of the smartswitch or other image-capturing devices, and transmit it to the smartswitch or other external display devices in the study so that parentsare able to know the activity of the child at any time. The system doesnot disturb parents if the cared child is safe. The video informationcollected by the environment control system may be analyzed by theprocessing module, such as detecting whether the child is near or hasfallen into the swimming pool. The methods of the environment controlsystem for analyzing the videos may be defined by the user, or acquiredby the environment control system via self-learning. For example, if theenvironment control system detects that the child is near the edge ofthe swimming pool, it may send alert instructions to the lounge, andcorresponding devices in the lounge such as the smart switch'sloudspeakers or alert devices may execute that alert instruction and letparents know about the danger.

It should be noted that the above description is for illustrativepurposes and practical applications may be not limited to the aboveexamples. Persons of ordinary skill in the art may implement othervariations or applications after understanding the principles of smartcare. For example, the environment control system may be applied in thesanatorium, nursing home, delivery room, baby room, dormitory in akindergarten, etc., and it may also be used for pet care and patientcare. For example, with respect to pet care, it may be used along withother external devices to undertake other tasks, which include but isnot limited to feeding the pet on schedule, preventing the pet fromchewing home facilities, talking to the pet, etc. With respect to thepatient care, the undertaken tasks may include, and without limitationto, helping the patient call the nurse, reminding the patient to takemedicine, reporting the health condition to the patient, etc. Suchexpansions are still within the scope of the present application.

Fourth Exemplary Embodiment of the Artificial Intelligence: Smart HealthAssistant

The environment control system may establish a health record for everyfamily member, and provide health information to the user in real time.Particularly, the process of establishing health record includes,without limitation to, the acquisition of user's physiologicalparameters by the environment control system via for example detectionby the sensing module, input by the user, or the self-learning function,etc. These physiological parameters may include, and without limitationto, the user's gender, age, height, weight, bust/waist/hip measurements,blood type, body temperature, respiration, pulse, heart rate, bloodpressure, blood glucose, blood lipids, reflection of corneal and pupil,medical history (such as but not limited to tuberculosis, heart disease,asthma, hypertension, diabetes), etc. Physiological parameters may alsoinclude conditions of sleeping, metabolisms, or physical examinations.The user may understand his/her own health conditions through theenvironment control system. Additionally, according to its analysis anddetermination, the environment control system may provide healthsuggestions daily or at appropriate time. For example, after getting up,the user may know his/her sleep quality last night, learn his/hertemperature, heart rate, breathing, pulse, blood pressure, or bloodlipid from the environment control system. The environment controlsystem may conduct a comprehensive analysis using the user's instantphysiological parameters and health records. If the parameters arewithin the normal range, the user may be not notified. But if thevariation of physical parameters of the user is out of a certain range,such as significant rise of body temperature, decreasing of sleepingtime, significant rise of blood pressure or blood lipid, the user may benotified such as by a voice message. Assuming the user is ill, forexample, suffering from a cold or hypertension, then the environmentcontrol system may remind the user to take the medicine, measure bodytemperature or blood pressure at an appropriate time (such as but notlimited to before a meal, after a meal, before bed, etc., depending onthe specific medicine). After the user recovers from the disease, theenvironment control system may update the user's health record. Thatupdate may be realized by input from the user, or by automatic update ofthe environment control system, or by update of the environment controlsystem based on information provided by a third-party. For example, theenvironment control system may acquire the health information or healinginformation from the user's medical records (such as electronic medicalrecords) or prescription records kept by the hospital or the user'sdoctor, so as to update the user's health record in the environmentcontrol system. In some cases, the environment control system does notestablish or maintain the user's health record, but rather acquires theuser's health record from a third party. For example, the environmentcontrol system may acquire the user's health record from the third partyin real time, according to a set schedule, or when a triggering eventoccurs. Such triggering events may include the establishment or updateof the medical records, such as electronic medical records orprescription records kept by the hospital or by the user's doctor. Thethird party may include a hospital, a clinic, a pharmacy, or any otherinstitution or person capable of establishing, updating, saving, oraccessing the health information or other information of the user.

It should be noted that the above examples are provided for illustrationpurposes. The practical applications are not limited to examplesdescribed herein. Persons of ordinary skill in the art may make othervariations or applications after understanding the principles. Forexample, the environment control system may be employed in locationssuch as a patient room or sanatorium to assist the treatment of thepatient. The environment control system may also share the health recordwith a private doctor to allow the doctor to gain knowledge of thephysiological parameters of the user.

Fifth Exemplary Embodiment of Artificial Intelligence: Smart LivingAssistant

The environment control system may administrator a user's livingconditions intelligently. One exemplary implantation is as follows: theenvironment control system may use devices that are built inside of orexternal to the environment control system to assist the user inaccomplishing a series of activities according to the user's habits.Particularly, the activities may include, and without limitation to,getting up and going to bed, and the devices may include, and withoutlimitation to, various smart appliances. For example, in the activity ofgetting up, the environment control system may cooperate in many ways,including but not limited to various aspects such as turning on thealarm, turning on the light, drawing the curtain, turning on the airconditioner, suggesting dressing index, etc. With respect to the settingof the alarm, the sound and frequency of the alarm may be definedaccording to the user's preference or habit, for example, the sound ofthe alarm may be music, human voice, voice of animals, etc. The alarmmay be once, or multiple times at certain intervals. With respect toturning on lights, the lights may be turned on at a specific time, oralternatively turned on gradually within a period of time (such as tosimulate the sun rise). The light-on time and brightness of light may beset by the users, or determined by the system through self-learning.Whether and when the curtain should be open may be set by the user, orby the system according to whether the user is detected to be out of thebed and properly dressed. The air conditioner may be turned on after orbefore the user gets up. For example, the environment control system maycontrol the air conditioner according to the user's instruction and/orone or more other parameters. The user's instructions may include one ormore parameters of the time when the user gets out of bed, thetemperature at or prior to that time (such as the temperature half orone hour before the user getting up), and the speed of temperaturechange. The control of the air conditioner may include, and withoutlimitation to, the starting time, operating power, the variation curveof the power (such as varying with respect to time), etc. Thenotification of dressing index is based on the weather forecast functionof the environment control system. For example, when the outdoortemperature is low, the environment control system may notify the userto wear more clothes. With respect to resting, the environment controlsystem may provide assistance that includes but is not limited tonotification of resting, turning off lights, turning on the airconditioner, closing the curtain, etc. With respect to notification ofresting, the environment control system may send the notification byplaying video, voice, or music. Particularly, the choice of video,voice, or music may be set according to the user's preference or habits.With respect to turning off lights, the light may be turned off at acertain time, or dimmed gradually over a period of time (to simulate theprocess of sunset). The air conditioner may be turned on prior to whenthe user goes to bed, or determined by the environment control systemaccording to the detected real-time temperature.

It should be noted that the examples described above is intended for thesake of understanding and should not limit the application of thepresent disclosure. Persons skilled in the art may make other variationsor applications after the understanding of the principles. Morecomplicated tasks may be undertaken by the combination of thefunctionality of smart living assistant with other functionalities. Forexample, the functions of the smart living assistant and the smartconversation may be combined to tell stories when the child gets up orgoes to bed, to help the child learn a song or review the lessons. Therelated applications or instructions may be inputted into theenvironment control system in ahead of time, such that the environmentcontrol system may lead the child to learn new knowledge in aninteractive way on a daily basis.

Sixth Exemplary Embodiment of Artificial Intelligence: SmartRecommendation of Lifestyle

With the help of big data, cloud data and the self-learning function ofthe system, the environment control system may be able to provide userswith lifestyle suggestions in which they are really interested in a veryconsiderate way at all times and places. These lifestyle suggestions mayinclude, and without limitation to, recommendations on various aspectssuch as food menus, television/film programs, meetings with people,travel plans, workout plans, etc. For example, information such as theuser's nationality, religion, diet habits, physical conditions may bestored in the environment control system, and may be used toautomatically generate recommendations of appropriate diet menus. Forexample, in some embodiments, the environment control system may detectthat the user mainly consumes vegetables based on examination andanalysis of his/her daily dishes. The system may also find out that theuser is on the low end of a reasonable body weight spectrum, accordingto his/her stored health record. The system may also find out that theuser does not have any specific religion. Based on the aboveinformation, the environment control system may automatically recommendsome meat-containing menu for the user to choose from. In anotherexample, the environment control system may record and analyzeinformation such as the user's phone records, guests appeared in thelounge, names mentioned in conversations, or settings by the user, andthus be able to remind the user to contact or meet with certain guests,etc. In another example, the environment control system may record andanalyze the user's television-viewing history, such as, the channels,time periods, programs. Thus, the environment control system is capableof recommending the user to watch certain interesting programs whenthere are updates in them at certain time. In yet another example, theenvironment control system may notify the user to put on more clothes ora hat, to take an umbrella, to wear a mask, etc., according to weatherforecast of the day. Additionally, according to the user's livinghabits, diet habits or physical conditions, the environment controlsystem may recommend the user whether or not to exercise, as well as thesuitable methods for exercising, etc.

It should be noted that the examples described above are intended forillustrative purposes, and should not be interpreted as to limit thepractical application of the disclosed subject matter. Persons skilledin the art may make other variations or applications after understandingthe disclosed principles. For example, more complicated tasks may beundertaken by the combination of different functions of the system. Forexample, the smart lifestyle recommendation function may be combinedwith the NFC function, such that the system may be able to recommendadvertisements of real value and interest to the user. Such expansionsin functionality or applications, are still within the scope of thepresent application.

What is claimed is:
 1. A system comprising, a first panel comprising a first sensing module configured to collect a parameter and a first processing module configured to control a device according to the collected parameter, and a second panel comprising a physical controller operably connected to the device, the first panel and the second panel being operably and detachably connected to each other, wherein the first panel is configured to control the device through the second panel and the physical controller is configured to work independently of the first panel to directly control the device when the first panel is detached and disconnected from the second panel, and wherein the physical controller is covered by the first panel when the first panel is attached and connected to the second panel.
 2. The system of claim 1, the second panel further comprising a current detecting device configured to collect current information and send the current information to the first panel.
 3. The system of claim 1, the physical controller comprising a dimmer.
 4. The system of claim 1, the first panel further comprising an ambient light sensor configured to sense intensity of ambient light.
 5. The system of claim 1, the first panel further comprising a temperature and humidity sensor or a gas composition sensor.
 6. The system of claim 1, the first panel further comprising a motion sensor configured to detect speed, contour, and a distance between an object and a smart switch in a vicinity of the smart switch.
 7. The system of claim 1, the first panel further comprising a gateway.
 8. The system of claim 1, the first panel further comprising a first communication module, wherein the first panel is configured to communicate with a second device via the first communication module.
 9. The system of claim 1, the first panel further comprising a touch screen configured to receive user input via the touch screen.
 10. The system of claim 1, the second panel further comprising a second sensing module.
 11. The system of claim 1, the second panel further comprising a second communication module.
 12. The system of claim 1 further comprising a third panel, the third panel including a second physical controller configured to control a third device with the first panel being configured to control the third device through the third panel.
 13. The system of claim 1 further comprising a remote control configured to control the device via the first panel.
 14. The system of claim 1, wherein the first panel comprises a first port and the second panel comprises a second port with the first and the second port forming a connector when the first panel is attached to the second panel and wherein the ports.
 15. A method of using a system to control a device, the system comprising: a first panel and a second panel comprising a physical controller operably connected to the device with the first panel and the second panel being operably and detachably connected to each other and the first panel configured to control the device through the second panel, the method comprising: receiving a parameter or user input related to the device via the first panel; and controlling, by the first panel, the device according to the received parameter or at least some of the user input; wherein the physical controller is configured to control the device independently of the first panel when the first panel is detached and disconnected from the second panel, and wherein the physical controller is covered by the first panel when the first panel is attached and connected to the second panel.
 16. The method of claim 15, the first panel further comprising a first sensing module configured to collect the parameter relating to the first panel.
 17. The method of claim 15, the first panel further comprising a touch screen configured to receive the user input.
 18. The method of claim 15, the physical controller comprising a dimmer.
 19. The method of claim 15, the first panel further comprising a first communication module configured to communicate with a second device.
 20. The method of claim 19, the first panel being configured to control the second device via the communication with the second device. 